progress in explore accounts
This commit is contained in:
parent
0ccdf63b84
commit
c65df9475e
1697
hesabixCore/composer.lock
generated
1697
hesabixCore/composer.lock
generated
File diff suppressed because it is too large
Load diff
17
hesabixCore/src/Controller/ExploreAccountsController.php
Normal file
17
hesabixCore/src/Controller/ExploreAccountsController.php
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Controller;
|
||||||
|
|
||||||
|
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||||
|
use Symfony\Component\HttpFoundation\JsonResponse;
|
||||||
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
|
use Symfony\Component\Routing\Attribute\Route;
|
||||||
|
|
||||||
|
final class ExploreAccountsController extends AbstractController
|
||||||
|
{
|
||||||
|
#[Route('/explore/accounts', name: 'app_explore_accounts')]
|
||||||
|
public function index(): JsonResponse
|
||||||
|
{
|
||||||
|
return $this->json([]);
|
||||||
|
}
|
||||||
|
}
|
|
@ -667,7 +667,7 @@ class ReportController extends AbstractController
|
||||||
return $this->json(Explore::ExploreHesabdariRows($items));
|
return $this->json(Explore::ExploreHesabdariRows($items));
|
||||||
}
|
}
|
||||||
|
|
||||||
private function tree2flat(Person|HesabdariTable|BankAccount|Cashdesk $item, array $acc): array
|
private function tree2flat(Person|HesabdariTable|BankAccount|Cashdesk|Salary $item, array $acc): array
|
||||||
{
|
{
|
||||||
$res = [];
|
$res = [];
|
||||||
if ($this->getEntityName($item) == 'App\Entity\HesabdariTable') {
|
if ($this->getEntityName($item) == 'App\Entity\HesabdariTable') {
|
||||||
|
|
Loading…
Reference in a new issue