mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-08 10:03:00 +01:00
fix(invoice): mutlicurrency_tx correct value
This commit is contained in:
@@ -1093,7 +1093,7 @@ if (empty($reshook)) {
|
||||
$object->fk_incoterms = GETPOSTINT('incoterm_id');
|
||||
$object->location_incoterms = GETPOST('location_incoterms', 'alpha');
|
||||
$object->multicurrency_code = GETPOST('multicurrency_code', 'alpha');
|
||||
$object->multicurrency_tx = GETPOSTINT('originmulticurrency_tx');
|
||||
$object->multicurrency_tx = GETPOST('originmulticurrency_tx');
|
||||
|
||||
// Special properties of replacement invoice
|
||||
$object->fk_facture_source = GETPOSTINT('fac_replacement');
|
||||
@@ -1154,7 +1154,7 @@ if (empty($reshook)) {
|
||||
$object->fk_incoterms = GETPOSTINT('incoterm_id');
|
||||
$object->location_incoterms = GETPOST('location_incoterms', 'alpha');
|
||||
$object->multicurrency_code = GETPOST('multicurrency_code', 'alpha');
|
||||
$object->multicurrency_tx = GETPOSTINT('originmulticurrency_tx');
|
||||
$object->multicurrency_tx = GETPOST('originmulticurrency_tx');
|
||||
|
||||
// Special properties of replacement invoice
|
||||
$object->fk_facture_source = $sourceinvoice > 0 ? $sourceinvoice : '';
|
||||
@@ -1393,7 +1393,7 @@ if (empty($reshook)) {
|
||||
$object->fk_incoterms = GETPOSTINT('incoterm_id');
|
||||
$object->location_incoterms = GETPOST('location_incoterms', 'alpha');
|
||||
$object->multicurrency_code = GETPOST('multicurrency_code', 'alpha');
|
||||
$object->multicurrency_tx = GETPOSTINT('originmulticurrency_tx');
|
||||
$object->multicurrency_tx = GETPOST('originmulticurrency_tx');
|
||||
|
||||
// Source facture
|
||||
$object->fac_rec = GETPOSTINT('fac_rec');
|
||||
@@ -1480,7 +1480,7 @@ if (empty($reshook)) {
|
||||
$object->fk_incoterms = GETPOSTINT('incoterm_id');
|
||||
$object->location_incoterms = GETPOST('location_incoterms', 'alpha');
|
||||
$object->multicurrency_code = GETPOST('multicurrency_code', 'alpha');
|
||||
$object->multicurrency_tx = GETPOSTINT('originmulticurrency_tx');
|
||||
$object->multicurrency_tx = GETPOST('originmulticurrency_tx');
|
||||
|
||||
if (GETPOST('type') == Facture::TYPE_SITUATION) {
|
||||
$object->situation_counter = 1;
|
||||
|
||||
Reference in New Issue
Block a user