Fixes for error 500 in order and fix layout when updating changed services

This commit is contained in:
Deon George
2022-07-25 23:24:45 +10:00
parent 5297ae8a62
commit 3ff7bf1571
2 changed files with 8 additions and 7 deletions

View File

@@ -105,7 +105,8 @@ class OrderController extends Controller
$so->site_id = config('site')->site_id;
$so->product_id = $po->id;
$so->order_status = 'ORDER-SUBMIT';
$so->orderby_id = Auth::id();
$so->ordered_by = Auth::id();
$so->active = FALSE;
$so->model = $order ? get_class($order) : NULL;
if ($order && $order->order_info) {