setter
parent
e7af582431
commit
9de6b7edd4
|
@ -319,6 +319,8 @@ class Order extends Base
|
||||||
$data = input("item/a",[]);
|
$data = input("item/a",[]);
|
||||||
$data["shipped_at"] = empty($data["shipped_at"])?null:$data["shipped_at"];
|
$data["shipped_at"] = empty($data["shipped_at"])?null:$data["shipped_at"];
|
||||||
$data["accepted_at"] = empty($data["accepted_at"])?null:$data["accepted_at"];
|
$data["accepted_at"] = empty($data["accepted_at"])?null:$data["accepted_at"];
|
||||||
|
$data["wedding_date"] = empty($data["wedding_date"])?null:$data["wedding_date"];
|
||||||
|
$data["expected_delivery_date"] = empty($data["expected_delivery_date"])?null:$data["expected_delivery_date"];
|
||||||
$item->save($data);
|
$item->save($data);
|
||||||
return $this->json();
|
return $this->json();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue