CheckoutReward

This commit is contained in:
gozareshgir
2026-01-24 16:29:01 +03:30
parent 900b4b3f4d
commit 331fb24a99
12 changed files with 120 additions and 22 deletions

View File

@@ -794,7 +794,8 @@ public class IndexModel : PageModel
watch.Stop();
#endregion
var firstContract = _contractApplication.GetDetails(ContractsId[0]);
var workshop = _workshopApplication.GetDetails(firstContract.WorkshopIds);
//int i = 0;
foreach (var item in ContractsId)
@@ -809,7 +810,7 @@ public class IndexModel : PageModel
if (separation.checker)
{
//workshopInfo
var workshop = _workshopApplication.GetDetails(contract.WorkshopIds);
var employeeOptions =
_employeeComputeOptionsApplication.GetAllByWorkshopId(contract.WorkshopIds);
@@ -1212,7 +1213,7 @@ public class IndexModel : PageModel
#endregion
RewardPayCompute = workshop.RewardComputeOnCheckout,
};
_checkoutApplication.Create(command);