WIP
This commit is contained in:
parent
f84b91ed5f
commit
fbde7a525f
16 changed files with 113 additions and 11 deletions
|
|
@ -101,11 +101,13 @@ namespace Yavsc.Controllers
|
|||
_context.Estimates
|
||||
.Add(estimate);
|
||||
_context.SaveChanges();
|
||||
|
||||
var query = _context.BookQueries.FirstOrDefault(
|
||||
q=>q.Id == estimate.CommandId
|
||||
);
|
||||
var perfomerProfile = _context.Performers
|
||||
.Include(
|
||||
perpr => perpr.Performer).FirstOrDefault(
|
||||
x=>x.PerformerId == estimate.Query.PerformerId
|
||||
x=>x.PerformerId == query.PerformerId
|
||||
);
|
||||
var command = _context.BookQueries.FirstOrDefault(
|
||||
cmd => cmd.Id == estimate.CommandId
|
||||
|
|
|
|||
|
|
@ -120,5 +120,30 @@ namespace Yavsc.Controllers
|
|||
throw new Exception("No data");
|
||||
return View("Estimate.pdf",estimate);
|
||||
}
|
||||
|
||||
[Authorize]
|
||||
public IActionResult EstimateProValidation()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
|
||||
}
|
||||
|
||||
[Authorize]
|
||||
public IActionResult EstimateClientValidation()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
|
||||
}
|
||||
[Authorize]
|
||||
public IActionResult BillValidation()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
|
||||
}
|
||||
[Authorize]
|
||||
public IActionResult BillAcquitment()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue