setter
parent
03950a3f8e
commit
e7af582431
|
@ -317,6 +317,8 @@ class Order extends Base
|
||||||
|
|
||||||
if ($this->request->isPost()) {
|
if ($this->request->isPost()) {
|
||||||
$data = input("item/a",[]);
|
$data = input("item/a",[]);
|
||||||
|
$data["shipped_at"] = empty($data["shipped_at"])?null:$data["shipped_at"];
|
||||||
|
$data["accepted_at"] = empty($data["accepted_at"])?null:$data["accepted_at"];
|
||||||
$item->save($data);
|
$item->save($data);
|
||||||
return $this->json();
|
return $this->json();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue