Merge branch '3.9' of git@github.com:Dolibarr/dolibarr.git into 4.0
Conflicts: htdocs/product/price.php
This commit is contained in:
commit
acdce83f9c
@ -96,7 +96,7 @@ if (empty($reshook))
|
|||||||
if (($action == 'update_vat') && !$cancel && ($user->rights->produit->creer || $user->rights->service->creer))
|
if (($action == 'update_vat') && !$cancel && ($user->rights->produit->creer || $user->rights->service->creer))
|
||||||
{
|
{
|
||||||
$tva_tx_txt = GETPOST('tva_tx', 'alpha'); // tva_tx can be '8.5' or '8.5*' or '8.5 (XXX)' or '8.5* (XXX)'
|
$tva_tx_txt = GETPOST('tva_tx', 'alpha'); // tva_tx can be '8.5' or '8.5*' or '8.5 (XXX)' or '8.5* (XXX)'
|
||||||
|
|
||||||
// We must define tva_tx, npr and local taxes
|
// We must define tva_tx, npr and local taxes
|
||||||
$vatratecode = '';
|
$vatratecode = '';
|
||||||
$tva_tx = preg_replace('/[^0-9\.].*$/', '', $tva_tx_txt); // keep remove all after the numbers and dot
|
$tva_tx = preg_replace('/[^0-9\.].*$/', '', $tva_tx_txt); // keep remove all after the numbers and dot
|
||||||
|
|||||||
@ -660,7 +660,7 @@ function updateContact($authentication,$contact)
|
|||||||
$object->civility_id=$contact['civility_id'];
|
$object->civility_id=$contact['civility_id'];
|
||||||
$object->poste=$contact['poste'];
|
$object->poste=$contact['poste'];
|
||||||
|
|
||||||
$object->statut=$contact['statut'];
|
$object->statut=$contact['status'];
|
||||||
|
|
||||||
|
|
||||||
//Retreive all extrafield for contact
|
//Retreive all extrafield for contact
|
||||||
|
|||||||
@ -935,7 +935,7 @@ function updateOrder($authentication,$order)
|
|||||||
if (isset($order['billed']))
|
if (isset($order['billed']))
|
||||||
{
|
{
|
||||||
if ($order['billed']) $result=$object->classifyBilled($fuser);
|
if ($order['billed']) $result=$object->classifyBilled($fuser);
|
||||||
if (! $order['billed']) $result=$object->classifyBilled($fuser);
|
if (! $order['billed']) $result=$object->classifyUnBilled($fuser);
|
||||||
}
|
}
|
||||||
|
|
||||||
//Retreive all extrafield for object
|
//Retreive all extrafield for object
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user