Fix: special code was lost during update
This commit is contained in:
parent
b6cefee45a
commit
7db903e671
@ -953,7 +953,7 @@ else if ($action == 'updateligne' && $user->rights->propal->creer && GETPOST('sa
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Define special_code for special lines
|
// Define special_code for special lines
|
||||||
$special_code=0;
|
$special_code=GETPOST('special_code');
|
||||||
if (! GETPOST('qty')) $special_code=3;
|
if (! GETPOST('qty')) $special_code=3;
|
||||||
|
|
||||||
// Check minimum price
|
// Check minimum price
|
||||||
|
|||||||
@ -2732,10 +2732,10 @@ class PropaleLigne extends CommonObject
|
|||||||
var $marge_tx;
|
var $marge_tx;
|
||||||
var $marque_tx;
|
var $marque_tx;
|
||||||
|
|
||||||
var $special_code; // Liste d'options non cumulabels:
|
var $special_code; // Tag for special lines (exlusive tags)
|
||||||
// 1: frais de port
|
// 1: frais de port
|
||||||
// 2: ecotaxe
|
// 2: ecotaxe
|
||||||
// 3: ??
|
// 3: option line (when qty = 0)
|
||||||
|
|
||||||
var $info_bits = 0; // Liste d'options cumulables:
|
var $info_bits = 0; // Liste d'options cumulables:
|
||||||
// Bit 0: 0 si TVA normal - 1 si TVA NPR
|
// Bit 0: 0 si TVA normal - 1 si TVA NPR
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user