Add property reception show stock.

This commit is contained in:
2017-02-06 08:20:18 +01:00
parent 7bbd4dcfa4
commit c8e3ef6754
7 changed files with 91 additions and 26 deletions

View File

@@ -203,7 +203,9 @@ class ProductSaleForm extends Model
$paid_at = date('Y-m-d H:i:s' ) ;
}
$this->transfer = Transfer::createProductTransfer($this->sale,$this->account, $this->discount, $this->currency, $this->count, $this->product,$status,$customer);
$this->transfer = Transfer::createProductTransfer($this->sale, $this->account, $this->discount,
$this->currency, $this->count,
$this->product,$status,$customer);
$this->transfer->payment_method = $this->payment_method;
if ( isset($this->comment)){
$this->transfer->comment = $this->comment;