Fix Detsta Import -> Transfer type cash , when unsuccessful
This commit is contained in:
@@ -151,7 +151,10 @@ class InventoryItemForm extends Model{
|
||||
if ( isset($this->last_inventory_item ) ){
|
||||
$query->andWhere([ '>', 'procurement.created_at' ,$this->last_inventory_item->created_at]);
|
||||
}
|
||||
|
||||
|
||||
//$query->andWhere([ '>', 'procurement.created_at' ,$this->inventory->created_at]);
|
||||
|
||||
|
||||
if ( $this->type == 'product') {
|
||||
$query->andWhere(['product.id_product' => $this->product->id_product]);
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user