basic business change with add with new colums
This commit is contained in:
parent
3a6558ae64
commit
b1b0e4b00d
|
@ -746,7 +746,8 @@ class BusinessController extends AbstractController
|
|||
$docs = $entityManager->getRepository(HesabdariDoc::class)->findBy([
|
||||
'bid' => $buss,
|
||||
'year' => $year,
|
||||
'money' => $acc['money']
|
||||
'money' => $acc['money'],
|
||||
'isApproved' => true
|
||||
]);
|
||||
|
||||
$rows = $entityManager->getRepository(HesabdariRow::class)->findBy([
|
||||
|
@ -760,8 +761,8 @@ class BusinessController extends AbstractController
|
|||
'bid' => $buss,
|
||||
'year' => $year,
|
||||
'type' => 'buy',
|
||||
'money' => $acc['money']
|
||||
|
||||
'money' => $acc['money'],
|
||||
'isApproved' => true
|
||||
]);
|
||||
$buysTotal = 0;
|
||||
$buysToday = 0;
|
||||
|
@ -783,7 +784,8 @@ class BusinessController extends AbstractController
|
|||
'bid' => $buss,
|
||||
'year' => $year,
|
||||
'type' => 'sell',
|
||||
'money' => $acc['money']
|
||||
'money' => $acc['money'],
|
||||
'isApproved' => true
|
||||
]);
|
||||
$sellsTotal = 0;
|
||||
$sellsToday = 0;
|
||||
|
@ -805,7 +807,8 @@ class BusinessController extends AbstractController
|
|||
'bid' => $buss,
|
||||
'year' => $year,
|
||||
'type' => 'person_send',
|
||||
'money' => $acc['money']
|
||||
'money' => $acc['money'],
|
||||
'isApproved' => true
|
||||
]);
|
||||
$sendsTotal = 0;
|
||||
$sendsToday = 0;
|
||||
|
@ -827,7 +830,8 @@ class BusinessController extends AbstractController
|
|||
'bid' => $buss,
|
||||
'year' => $year,
|
||||
'type' => 'person_receive',
|
||||
'money' => $acc['money']
|
||||
'money' => $acc['money'],
|
||||
'isApproved' => true
|
||||
]);
|
||||
$recsTotal = 0;
|
||||
$recsToday = 0;
|
||||
|
|
Loading…
Reference in a new issue