MOD EV3-173 Megrendelések-sztornó megrendelések
This commit is contained in:
parent
6746617da1
commit
959addacc7
@ -16,4 +16,14 @@ final class OrderFlag extends Enum
|
|||||||
const modified = 'modified';
|
const modified = 'modified';
|
||||||
|
|
||||||
const storno = 'storno';
|
const storno = 'storno';
|
||||||
|
|
||||||
|
public static function getDescription($value): string
|
||||||
|
{
|
||||||
|
return match ($value) {
|
||||||
|
self::modifier => 'módosító',
|
||||||
|
self::modified => 'módosított',
|
||||||
|
self::storno => 'stornó',
|
||||||
|
default => 'eredeti',
|
||||||
|
};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -213,6 +213,7 @@ public function getDataTableContent(): JsonResponse
|
|||||||
$item['deliveryAddressName'] = $item['deliveryAddress'];
|
$item['deliveryAddressName'] = $item['deliveryAddress'];
|
||||||
}
|
}
|
||||||
$item['canEditable'] = $this->orderCanEditable($item);
|
$item['canEditable'] = $this->orderCanEditable($item);
|
||||||
|
$item['orderFlag'] = OrderFlag::getDescription($item['orderFlag']);
|
||||||
|
|
||||||
// dd($item);
|
// dd($item);
|
||||||
return $item;
|
return $item;
|
||||||
|
|||||||
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=254cdea652e6b16f3d3c1153db86b23a",
|
"/js/module.js": "/js/module.js?id=29a456e6546fb80088a21e164cdfca82",
|
||||||
"/js/components.js": "/js/components.js?id=34668cee8ac371c98657beffcff579b8",
|
"/js/components.js": "/js/components.js?id=34668cee8ac371c98657beffcff579b8",
|
||||||
"/css/app.css": "/css/app.css?id=05445eb8fb6f79c539507896e268aa91",
|
"/css/app.css": "/css/app.css?id=05445eb8fb6f79c539507896e268aa91",
|
||||||
"/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",
|
||||||
|
|||||||
@ -204,6 +204,7 @@ if(typeof window.OrderArchiveModule ==="undefined") {
|
|||||||
{ "data": "deliveryAddressName" },
|
{ "data": "deliveryAddressName" },
|
||||||
{ "data": "sentTime" },
|
{ "data": "sentTime" },
|
||||||
{ "data": "humanId" },
|
{ "data": "humanId" },
|
||||||
|
{ "data": "orderFlag" },
|
||||||
{ "data": "confirmed" },
|
{ "data": "confirmed" },
|
||||||
null,
|
null,
|
||||||
];
|
];
|
||||||
@ -214,6 +215,7 @@ if(typeof window.OrderArchiveModule ==="undefined") {
|
|||||||
{ "data": "deliveryAddressName" },
|
{ "data": "deliveryAddressName" },
|
||||||
{ "data": "sentTime" },
|
{ "data": "sentTime" },
|
||||||
{ "data": "humanId" },
|
{ "data": "humanId" },
|
||||||
|
{ "data": "orderFlag" },
|
||||||
{ "data": "confirmed" },
|
{ "data": "confirmed" },
|
||||||
null,
|
null,
|
||||||
];
|
];
|
||||||
|
|||||||
@ -15,6 +15,7 @@
|
|||||||
<th>szállítási cím</th>
|
<th>szállítási cím</th>
|
||||||
<th>Leadási időpont</th>
|
<th>Leadási időpont</th>
|
||||||
<th>Azonosító</th>
|
<th>Azonosító</th>
|
||||||
|
<th>Típus</th>
|
||||||
<th>Jóváhagyva</th>
|
<th>Jóváhagyva</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
@ -29,6 +30,7 @@
|
|||||||
<th>szállítási cím</th>
|
<th>szállítási cím</th>
|
||||||
<th>Leadási időpont</th>
|
<th>Leadási időpont</th>
|
||||||
<th>Azonosító</th>
|
<th>Azonosító</th>
|
||||||
|
<th>Típus</th>
|
||||||
<th>Jóváhagyva</th>
|
<th>Jóváhagyva</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user