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([
|
$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([
|
||||||
|
@ -760,8 +761,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;
|
||||||
|
@ -783,7 +784,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;
|
||||||
|
@ -805,7 +807,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;
|
||||||
|
@ -827,7 +830,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