Compare commits

..

No commits in common. "45c03051a0d44bd43339e726216d3b6abca60b02" and "65c6f38ef384d7c500ade82189ae82023cee73ea" have entirely different histories.

View file

@ -757,8 +757,7 @@ class BusinessController extends AbstractController
$docs = $entityManager->getRepository(HesabdariDoc::class)->findBy([
'bid' => $buss,
'year' => $year,
'money' => $acc['money'],
'isApproved' => true
'money' => $acc['money']
]);
$rows = $entityManager->getRepository(HesabdariRow::class)->findBy([
@ -772,8 +771,8 @@ class BusinessController extends AbstractController
'bid' => $buss,
'year' => $year,
'type' => 'buy',
'money' => $acc['money'],
'isApproved' => true
'money' => $acc['money']
]);
$buysTotal = 0;
$buysToday = 0;
@ -795,8 +794,7 @@ class BusinessController extends AbstractController
'bid' => $buss,
'year' => $year,
'type' => 'sell',
'money' => $acc['money'],
'isApproved' => true
'money' => $acc['money']
]);
$sellsTotal = 0;
$sellsToday = 0;
@ -818,8 +816,7 @@ class BusinessController extends AbstractController
'bid' => $buss,
'year' => $year,
'type' => 'person_send',
'money' => $acc['money'],
'isApproved' => true
'money' => $acc['money']
]);
$sendsTotal = 0;
$sendsToday = 0;
@ -841,8 +838,7 @@ class BusinessController extends AbstractController
'bid' => $buss,
'year' => $year,
'type' => 'person_receive',
'money' => $acc['money'],
'isApproved' => true
'money' => $acc['money']
]);
$recsTotal = 0;
$recsToday = 0;