EV3-172 Módosítási lehetőség a kosárban part1

This commit is contained in:
E98Developer 2026-05-18 07:20:48 +02:00
parent 6c85638746
commit dcd97ebcd1
9 changed files with 30 additions and 13 deletions

View File

@ -1733,6 +1733,7 @@ public function destroy(int $OrderId): Response|JsonResponse
], 500);
}
public function getDataTableContent(): JsonResponse
{
$groupId = null;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
{
"/js/app.js": "/js/app.js?id=788435874adbbf8e5ddc27cc9d18e00e",
"/js/admin.js": "/js/admin.js?id=ba79095db4031ff8fcb2db67804629a7",
"/js/module.js": "/js/module.js?id=9c0dac011c39d558ee1b3f201202a8a4",
"/js/module.js": "/js/module.js?id=bb6e002fb4bc0accde646b3f3597ba4a",
"/js/components.js": "/js/components.js?id=34668cee8ac371c98657beffcff579b8",
"/css/app.css": "/css/app.css?id=883a2d68194f1a6064f55eaedb17e768",
"/fonts/vendor/bootstrap-icons/bootstrap-icons.woff2?92ea18a81d737146ff044ddb52010366": "/fonts/vendor/bootstrap-icons/bootstrap-icons.woff2?92ea18a81d737146ff044ddb52010366?id=9ad5aa740d7d5e6a0191b309b9b1986c",

View File

@ -1156,6 +1156,12 @@ solution before template
$('.dataTableOrderProductSelect').DataTable().ajax.reload();
}
this.clickSpecialCart = function () {
debug('clickSpecialCart');
root.setDatatableHeaderText('Termékek szűrve: Kosár termékek');
dataTableSearchStr='**specialCart**';
$('.dataTableOrderProductSelect').DataTable().ajax.reload();
}
@ -1366,6 +1372,11 @@ solution before template
$('a.sidebar.specialOffer').off('click');
$('a.sidebar.specialOffer').on('click',root.clickSpecialOffer);
$('a.sidebar.cart').off('click');
$('a.sidebar.cart').on('click',root.clickSpecialCart);
$('.sidebar-search input[name=searchValue]').off('keypress');
$('.sidebar-search input[name=searchValue]').on('keypress',function (event) {
@ -1540,14 +1551,12 @@ solution before template
}
this.orderItemsChange=function(ItemData,quantity,dayIndex){
console.log('-----------------');
console.log(ItemData);
console.log(quantity);
console.log(Order.getData('productSelected'));
console.log('-----------------');
/*
debug('-----------------');
debug(ItemData);
debug(quantity);
debug(Order.getData('productSelected'));
debug('-----------------');
*/
if(isNaN(quantity)){
quantity=0;

View File

@ -139,6 +139,13 @@
</div>
</li>--}}
<li>
<a href="#" class="sidebar cart">
<i class="fa fa-shopping-cart"></i>
<span>Kosár</span>
</a>
</li>
<li class="header-menu">
<span>Extra</span>
</li>