fix (scrutinizer) deletion of the variables add in company
This commit is contained in:
parent
c19d259d46
commit
465a88738e
@ -504,10 +504,6 @@ class Societe extends CommonObject
|
|||||||
*/
|
*/
|
||||||
public $tva_intra;
|
public $tva_intra;
|
||||||
|
|
||||||
public $tva_tx;
|
|
||||||
|
|
||||||
public $price_base_type;
|
|
||||||
|
|
||||||
// Local taxes
|
// Local taxes
|
||||||
public $localtax1_assuj;
|
public $localtax1_assuj;
|
||||||
public $localtax1_value;
|
public $localtax1_value;
|
||||||
|
|||||||
@ -321,7 +321,7 @@ if (!empty($conf->global->PRODUIT_CUSTOMER_PRICES)) {
|
|||||||
|
|
||||||
// VAT
|
// VAT
|
||||||
print '<tr><td>'.$langs->trans("VATRate").'</td><td>';
|
print '<tr><td>'.$langs->trans("VATRate").'</td><td>';
|
||||||
print $form->load_tva("tva_tx", $object->tva_tx, $mysoc, '', $object->id, $object->tva_npr, '', false, 1);
|
print $form->load_tva("tva_tx", GETPOST("tva_tx", "alpha"), $mysoc, '', $object->id, 0, '', false, 1);
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
// Price base
|
// Price base
|
||||||
@ -329,7 +329,7 @@ if (!empty($conf->global->PRODUIT_CUSTOMER_PRICES)) {
|
|||||||
print $langs->trans('PriceBase');
|
print $langs->trans('PriceBase');
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '<td>';
|
print '<td>';
|
||||||
print $form->selectPriceBaseType($object->price_base_type, "price_base_type");
|
print $form->selectPriceBaseType(GETPOST("price_base_type", "aZ09"), "price_base_type");
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user