Exemple #1
0
 /**
  * save function
  * @return object
  */
 public function save()
 {
     return $this->shipment_srl ? $this->repo->update($this) : $this->repo->insert($this);
 }
 public function dispShopToolManageShipments()
 {
     $repo = new ShipmentRepository();
     $shipments = $repo->getList($this->module_info->module_srl);
     Context::set('shipments', $shipments->data);
     Context::set('page_navigation', $shipments->page_navigation);
 }