Beispiel #1
0
 /**
  * Enter description here...
  *
  */
 public function save()
 {
     if (!$this->_obReceipt->cdate_real) {
         $this->_obReceipt->cdate_real = M('Date')->dbDateTime();
     }
     $this->_obReceipt->checker_id = me()->id();
     parent::save();
 }
Beispiel #2
0
 /**
  * Enter description here...
  *
  */
 public function save()
 {
     if (!$this->_obReceipt->cdate_virt) {
         $this->_obReceipt->cdate_virt = M('Date')->dbDateTime();
     }
     $this->_obReceipt->total_virt = $this->_obReceipt->getReceiptTotalVirtual();
     parent::save();
 }
Beispiel #3
0
 /**
  * Enter description here...
  *
  * @param RM_Purchase_Receipt_Object $obReceipt
  */
 public function __construct($obReceipt)
 {
     $this->_typeValue = 3;
     parent::__construct($obReceipt);
 }