allow changing status
This commit is contained in:
@@ -385,7 +385,7 @@ class WarehouseShippingNoteController extends TTCrud {
|
||||
}
|
||||
|
||||
$shippingNote = (array) WarehouseShippingNoteModel::get($id);
|
||||
if ($shippingNote['status'] === 'accepted' || $shippingNote['status'] === 'invoiced') {
|
||||
if ($shippingNote['status'] === 'invoiced') {
|
||||
http_response_code(500);
|
||||
self::returnJson(['success' => false, 'message' => 'Status kann nicht geändert werden']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user