commit
910c4144e8
1 changed files with 2 additions and 2 deletions
|
|
@ -579,7 +579,7 @@ class modService extends DolibarrModules
|
|||
'sp.remise_percent'=>'DiscountQtyMin'
|
||||
));
|
||||
|
||||
if ($conf->multicurrency->enabled)
|
||||
if (!empty($conf->multicurrency->enabled))
|
||||
{
|
||||
$this->import_fields_array[$r] = array_merge($this->import_fields_array[$r], array(
|
||||
'sp.fk_multicurrency'=>'CurrencyCodeId', //ideally this should be automatically obtained from the CurrencyCode on the next line
|
||||
|
|
@ -616,7 +616,7 @@ class modService extends DolibarrModules
|
|||
// TODO Make this field not required and calculate it from price and qty
|
||||
'sp.remise_percent' => '20'
|
||||
));
|
||||
if ($conf->multicurrency->enabled)
|
||||
if (!empty($conf->multicurrency->enabled))
|
||||
{
|
||||
$this->import_examplevalues_array[$r] = array_merge($this->import_examplevalues_array[$r], array(
|
||||
'sp.fk_multicurrency'=>'eg: 2, rowid for code of multicurrency currency',
|
||||
|
|
|
|||
Loading…
Reference in a new issue