EV3-172 Módosítási lehetőség a kosárban part1
This commit is contained in:
parent
6c85638746
commit
dcd97ebcd1
@ -1733,6 +1733,7 @@ public function destroy(int $OrderId): Response|JsonResponse
|
|||||||
], 500);
|
], 500);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function getDataTableContent(): JsonResponse
|
public function getDataTableContent(): JsonResponse
|
||||||
{
|
{
|
||||||
$groupId = null;
|
$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
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"/js/app.js": "/js/app.js?id=788435874adbbf8e5ddc27cc9d18e00e",
|
"/js/app.js": "/js/app.js?id=788435874adbbf8e5ddc27cc9d18e00e",
|
||||||
"/js/admin.js": "/js/admin.js?id=ba79095db4031ff8fcb2db67804629a7",
|
"/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",
|
"/js/components.js": "/js/components.js?id=34668cee8ac371c98657beffcff579b8",
|
||||||
"/css/app.css": "/css/app.css?id=883a2d68194f1a6064f55eaedb17e768",
|
"/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",
|
"/fonts/vendor/bootstrap-icons/bootstrap-icons.woff2?92ea18a81d737146ff044ddb52010366": "/fonts/vendor/bootstrap-icons/bootstrap-icons.woff2?92ea18a81d737146ff044ddb52010366?id=9ad5aa740d7d5e6a0191b309b9b1986c",
|
||||||
|
|||||||
@ -1156,6 +1156,12 @@ solution before template
|
|||||||
$('.dataTableOrderProductSelect').DataTable().ajax.reload();
|
$('.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').off('click');
|
||||||
$('a.sidebar.specialOffer').on('click',root.clickSpecialOffer);
|
$('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]').off('keypress');
|
||||||
$('.sidebar-search input[name=searchValue]').on('keypress',function (event) {
|
$('.sidebar-search input[name=searchValue]').on('keypress',function (event) {
|
||||||
@ -1540,14 +1551,12 @@ solution before template
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.orderItemsChange=function(ItemData,quantity,dayIndex){
|
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)){
|
if(isNaN(quantity)){
|
||||||
quantity=0;
|
quantity=0;
|
||||||
|
|||||||
@ -139,6 +139,13 @@
|
|||||||
</div>
|
</div>
|
||||||
</li>--}}
|
</li>--}}
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="#" class="sidebar cart">
|
||||||
|
<i class="fa fa-shopping-cart"></i>
|
||||||
|
<span>Kosár</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
<li class="header-menu">
|
<li class="header-menu">
|
||||||
<span>Extra</span>
|
<span>Extra</span>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user