Compare commits
2 commits
65c6f38ef3
...
45c03051a0
Author | SHA1 | Date | |
---|---|---|---|
|
45c03051a0 | ||
|
b1b0e4b00d |
|
@ -757,7 +757,8 @@ class BusinessController extends AbstractController
|
||||||
$docs = $entityManager->getRepository(HesabdariDoc::class)->findBy([
|
$docs = $entityManager->getRepository(HesabdariDoc::class)->findBy([
|
||||||
'bid' => $buss,
|
'bid' => $buss,
|
||||||
'year' => $year,
|
'year' => $year,
|
||||||
'money' => $acc['money']
|
'money' => $acc['money'],
|
||||||
|
'isApproved' => true
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$rows = $entityManager->getRepository(HesabdariRow::class)->findBy([
|
$rows = $entityManager->getRepository(HesabdariRow::class)->findBy([
|
||||||
|
@ -771,8 +772,8 @@ class BusinessController extends AbstractController
|
||||||
'bid' => $buss,
|
'bid' => $buss,
|
||||||
'year' => $year,
|
'year' => $year,
|
||||||
'type' => 'buy',
|
'type' => 'buy',
|
||||||
'money' => $acc['money']
|
'money' => $acc['money'],
|
||||||
|
'isApproved' => true
|
||||||
]);
|
]);
|
||||||
$buysTotal = 0;
|
$buysTotal = 0;
|
||||||
$buysToday = 0;
|
$buysToday = 0;
|
||||||
|
@ -794,7 +795,8 @@ class BusinessController extends AbstractController
|
||||||
'bid' => $buss,
|
'bid' => $buss,
|
||||||
'year' => $year,
|
'year' => $year,
|
||||||
'type' => 'sell',
|
'type' => 'sell',
|
||||||
'money' => $acc['money']
|
'money' => $acc['money'],
|
||||||
|
'isApproved' => true
|
||||||
]);
|
]);
|
||||||
$sellsTotal = 0;
|
$sellsTotal = 0;
|
||||||
$sellsToday = 0;
|
$sellsToday = 0;
|
||||||
|
@ -816,7 +818,8 @@ class BusinessController extends AbstractController
|
||||||
'bid' => $buss,
|
'bid' => $buss,
|
||||||
'year' => $year,
|
'year' => $year,
|
||||||
'type' => 'person_send',
|
'type' => 'person_send',
|
||||||
'money' => $acc['money']
|
'money' => $acc['money'],
|
||||||
|
'isApproved' => true
|
||||||
]);
|
]);
|
||||||
$sendsTotal = 0;
|
$sendsTotal = 0;
|
||||||
$sendsToday = 0;
|
$sendsToday = 0;
|
||||||
|
@ -838,7 +841,8 @@ class BusinessController extends AbstractController
|
||||||
'bid' => $buss,
|
'bid' => $buss,
|
||||||
'year' => $year,
|
'year' => $year,
|
||||||
'type' => 'person_receive',
|
'type' => 'person_receive',
|
||||||
'money' => $acc['money']
|
'money' => $acc['money'],
|
||||||
|
'isApproved' => true
|
||||||
]);
|
]);
|
||||||
$recsTotal = 0;
|
$recsTotal = 0;
|
||||||
$recsToday = 0;
|
$recsToday = 0;
|
||||||
|
|
Loading…
Reference in a new issue