aftersale
This commit is contained in:
parent
f4cae762e1
commit
480e7361a9
|
|
@ -132,6 +132,8 @@ class Aftersale extends Backend
|
|||
$params['worker_id'] = $order->dispatch->worker_id;
|
||||
$params['worker_name'] = $order->dispatch->worker_name;
|
||||
$result = $this->model->allowField(true)->save($params);
|
||||
$order->aftersale_id = $this->model->id;
|
||||
$order->save();
|
||||
Db::commit();
|
||||
} catch (ValidateException|PDOException|Exception $e) {
|
||||
Db::rollback();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user