change cart to plain post from ajax
This commit is contained in:
@@ -209,6 +209,12 @@ class ProductSaleForm extends Model
|
||||
|
||||
|
||||
$this->transfer->id_user = Yii::$app->user->id;
|
||||
|
||||
if ( $status == Transfer::STATUS_PAID){
|
||||
$this->transfer->paid_by = Yii::$app->user->id;
|
||||
}
|
||||
|
||||
|
||||
$this->transfer->save();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user