mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-18 13:28:32 -04:00
Resolving issue #3997 for discount type toggle not staying put.
This commit is contained in:
@@ -1309,7 +1309,7 @@ class Sale_lib
|
||||
$line['quantity'] = $quantity;
|
||||
$line['discount'] = $discount;
|
||||
|
||||
if(!empty($discount_type))
|
||||
if($discount_type != null)
|
||||
{
|
||||
$line['discount_type'] = $discount_type;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user