Added Service Reference for SUBMIT-SENT

This commit is contained in:
Deon George
2019-01-24 20:12:00 +11:00
parent 95bd89aa93
commit 8402e4fcb6
8 changed files with 186 additions and 4 deletions

View File

@@ -49,6 +49,10 @@ class AdminHomeController extends Controller
$o->nextStatus($action);
break;
case 'update_reference':
$o->order_info = array_merge($o->order_info ? $o->order_info : [],['order_reference'=>$request->input('notes')]);
$o->save();
// No action specified.
default:
return $this->service($o);