mirror of
https://forge.chapril.org/tykayn/caisse-bliss
synced 2025-10-04 17:04:54 +02:00
complete mock
This commit is contained in:
parent
63895ee93c
commit
e9d896d4a7
2 changed files with 11 additions and 2 deletions
|
@ -219,7 +219,7 @@ angular
|
||||||
console.log('customCategories', customCategories);
|
console.log('customCategories', customCategories);
|
||||||
$scope.categories = customCategories;
|
$scope.categories = customCategories;
|
||||||
$scope.productsFromDB = customCategories;
|
$scope.productsFromDB = customCategories;
|
||||||
// $scope.recentSellings = rep.data.history;
|
$scope.recentSellings = rep.data.history;
|
||||||
// festoche
|
// festoche
|
||||||
$scope.activeFestival.id = rep.data.lastFestival.id;
|
$scope.activeFestival.id = rep.data.lastFestival.id;
|
||||||
$scope.activeFestival.name = rep.data.lastFestival.name;
|
$scope.activeFestival.name = rep.data.lastFestival.name;
|
||||||
|
|
|
@ -114,7 +114,16 @@ $user = $this->getUser();
|
||||||
'categories' => $user->getGroupOfProducts(),
|
'categories' => $user->getGroupOfProducts(),
|
||||||
'products' => $user->getProducts(),
|
'products' => $user->getProducts(),
|
||||||
// mock land
|
// mock land
|
||||||
'lastFestival' => ['id'=>1]
|
'lastFestival' => ['id'=>1,
|
||||||
|
'name'=>'le festival de mock',
|
||||||
|
'dateCreation'=>'2025-02-16',
|
||||||
|
'commentaire'=>'MOCK: hop le commentaire de festival',
|
||||||
|
'chiffreAffaire'=>'1234',
|
||||||
|
'fondDeCaisseAvant'=>'100',
|
||||||
|
'fondDeCaisseAprès'=>'150',
|
||||||
|
'sold'=>123
|
||||||
|
],
|
||||||
|
'history' => [],
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
#[Route('/logged/import', name: 'import')]
|
#[Route('/logged/import', name: 'import')]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue