Skip to content

Commit 8bfa97a

Browse files
authored
Merge pull request #1185 from Blair2004/v4.8.x
V4.8.x
2 parents bf1ac3e + a01f2e2 commit 8bfa97a

20 files changed

+60
-35
lines changed

app/Crud/ProductHistoryCrud.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,6 @@ public function setActions( CrudEntry $entry, $namespace )
465465
$entry->{ '$cssClass' } = 'bg-red-100 border-red-200 border text-sm dark:text-slate-300 dark:bg-red-600 dark:border-red-700';
466466
break;
467467
case ProductHistory::ACTION_SOLD:
468-
case ProductHistory::ACTION_RETURNED:
469468
case ProductHistory::ACTION_ADDED:
470469
case ProductHistory::ACTION_STOCKED:
471470
$entry->{ '$cssClass' } = 'bg-green-100 border-green-200 border text-sm dark:text-slate-300 dark:bg-green-700 dark:border-green-800';
@@ -474,6 +473,7 @@ public function setActions( CrudEntry $entry, $namespace )
474473
case ProductHistory::ACTION_TRANSFER_IN:
475474
$entry->{ '$cssClass' } = 'bg-blue-100 border-blue-200 border text-sm dark:text-slate-300 dark:bg-blue-600 dark:border-blue-700';
476475
break;
476+
case ProductHistory::ACTION_RETURNED:
477477
case ProductHistory::ACTION_ADJUSTMENT_RETURN:
478478
case ProductHistory::ACTION_TRANSFER_REJECTED:
479479
case ProductHistory::ACTION_TRANSFER_CANCELED:

app/Http/Controllers/Dashboard/ProcurementController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ public function searchProcurementProduct( Request $request )
336336

337337
return [
338338
'from' => 'procurements',
339-
'product' => $this->procurementService->searchProcurementProduct( $request->input( 'search' ) ),
339+
'product' => $this->procurementService->searchProcurementProduct( $request->input( 'argument' ) ),
340340
];
341341
}
342342

app/Services/OrdersService.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2128,7 +2128,8 @@ public function deleteOrder(Order $order)
21282128
->products()
21292129
->get()
21302130
->each( function( OrderProduct $orderProduct) {
2131-
$product = $orderProduct->load( 'product' );
2131+
$orderProduct->load( 'product' );
2132+
$product = $orderProduct->product;
21322133
/**
21332134
* we do proceed by doing an initial return
21342135
* only if the product is not a quick product/service

config/nexopos.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
return [
4-
'version' => '4.8.8',
4+
'version' => '4.8.9',
55
'languages' => [
66
'en' => 'English',
77
'fr' => 'Français',

public/css-manifest.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"animations.css": "animations.c1fe16891852852b6db8.css",
3-
"app.css": "app.06b96c1d69982e57bd47.css",
2+
"animations.css": "animations.cb4544d9bb06aeaa8e48.css",
3+
"app.css": "app.f9fb82c1b0295a171e9f.css",
44
"typography.css": "typography.5d798833a07dd150efa8.css",
55
"fonts.css": "fonts.64053e5a2ec1dd65399b.css",
6-
"light.css": "light.72bd805dac4d2a328b74.css",
7-
"dark.css": "dark.9857705da9beecc1bc09.css",
6+
"light.css": "light.9e990100ce36c59d8156.css",
7+
"dark.css": "dark.0174d418deda1ce7827a.css",
88
"vue2-daterange-picker.css": "vue2-daterange-picker.fe9e4f57ad74c98c9324.css",
99
"grid.css": "grid.02de9031306c45f5b9f2.css"
1010
}

public/css/animations.c1fe16891852852b6db8.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

public/css/app.06b96c1d69982e57bd47.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

public/css/app.5fa7c899f29731ce3255.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

public/css/app.f9fb82c1b0295a171e9f.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/css/dark.9857705da9beecc1bc09.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)