Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop
This commit is contained in:
commit
7f24a2be2f
@ -859,7 +859,7 @@ if ($socid > 0)
|
||||
print $obj->description;
|
||||
print '</td>';
|
||||
}
|
||||
print '<td class="left nowrap"><a href="'.DOL_URL_ROOT.'/compta/facture/card.php?facid='.$obj->rowid.'">'.img_object($langs->trans("ShowBill"),'bill').' '.$obj->ref.'</a></td>';
|
||||
print '<td class="left nowrap"><a href="'.DOL_URL_ROOT.'/compta/facture/card.php?facid='.$obj->rowid.'">'.img_object($langs->trans("ShowBill"), 'bill').' '.$obj->ref.'</a></td>';
|
||||
print '<td class="right">'.price($obj->amount_ht).'</td>';
|
||||
if (! empty($conf->multicurrency->enabled))
|
||||
{
|
||||
@ -1029,7 +1029,7 @@ if ($socid > 0)
|
||||
print $obj->description;
|
||||
print '</td>';
|
||||
}
|
||||
print '<td class="left nowrap"><a href="'.DOL_URL_ROOT.'/fourn/facture/card.php?facid='.$obj->rowid.'">'.img_object($langs->trans("ShowBill"),'bill').' '.$obj->ref.'</a></td>';
|
||||
print '<td class="left nowrap"><a href="'.DOL_URL_ROOT.'/fourn/facture/card.php?facid='.$obj->rowid.'">'.img_object($langs->trans("ShowBill"), 'bill').' '.$obj->ref.'</a></td>';
|
||||
print '<td class="right">'.price($obj->amount_ht).'</td>';
|
||||
if (! empty($conf->multicurrency->enabled))
|
||||
{
|
||||
|
||||
@ -669,7 +669,7 @@ class Form
|
||||
*
|
||||
* @param string $selected Id or Code or Label of preselected country
|
||||
* @param string $htmlname Name of html select object
|
||||
* @param string $htmloption Options html on select object
|
||||
* @param string $htmloption More html options on select object
|
||||
* @param integer $maxlength Max length for labels (0=no limit)
|
||||
* @param string $morecss More css class
|
||||
* @param string $usecodeaskey ''=Use id as key (default), 'code3'=Use code on 3 alpha as key, 'code2"=Use code on 2 alpha as key
|
||||
|
||||
@ -472,8 +472,8 @@ function show_stats_for_company($product, $socid)
|
||||
function measuring_units_string($unit, $measuring_style = '')
|
||||
{
|
||||
global $langs, $db;
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/class/cmeasuringunits.class.php';
|
||||
$measuringUnits= new CMeasuringUnits($db);
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/class/cunits.class.php';
|
||||
$measuringUnits= new CUnits($db);
|
||||
$result = $measuringUnits->fetchAll('', '', 0, 0, array(
|
||||
't.code' => $unit,
|
||||
't.unit_type' => $measuring_style,
|
||||
|
||||
@ -351,48 +351,48 @@ class modProduct extends DolibarrModules
|
||||
$this->import_convertvalue_array[$r] = array(
|
||||
'p.weight_units' => array(
|
||||
'rule' => 'fetchidfromcodeunits',
|
||||
'classfile' => '/core/class/cmeasuringunits.class.php',
|
||||
'class' => 'CMeasuringUnits',
|
||||
'classfile' => '/core/class/cunits.class.php',
|
||||
'class' => 'CUnits',
|
||||
'method' => 'fetch',
|
||||
'units' => 'weight',
|
||||
'dict' => 'DictionaryMeasuringUnits'
|
||||
),
|
||||
'p.length_units' => array(
|
||||
'rule' => 'fetchidfromcodeunits',
|
||||
'classfile' => '/core/class/cmeasuringunits.class.php',
|
||||
'class' => 'CMeasuringUnits',
|
||||
'classfile' => '/core/class/cunits.class.php',
|
||||
'class' => 'CUnits',
|
||||
'method' => 'fetch',
|
||||
'units' => 'size',
|
||||
'dict' => 'DictionaryMeasuringUnits'
|
||||
),
|
||||
'p.width_units' => array(
|
||||
'rule' => 'fetchidfromcodeunits',
|
||||
'classfile' => '/core/class/cmeasuringunits.class.php',
|
||||
'class' => 'CMeasuringUnits',
|
||||
'classfile' => '/core/class/cunits.class.php',
|
||||
'class' => 'CUnits',
|
||||
'method' => 'fetch',
|
||||
'units' => 'size',
|
||||
'dict' => 'DictionaryMeasuringUnits'
|
||||
),
|
||||
'p.height_units' => array(
|
||||
'rule' => 'fetchidfromcodeunits',
|
||||
'classfile' => '/core/class/cmeasuringunits.class.php',
|
||||
'class' => 'CMeasuringUnits',
|
||||
'classfile' => '/core/class/cunits.class.php',
|
||||
'class' => 'CUnits',
|
||||
'method' => 'fetch',
|
||||
'units' => 'size',
|
||||
'dict' => 'DictionaryMeasuringUnits'
|
||||
),
|
||||
'p.surface_units' => array(
|
||||
'rule' => 'fetchidfromcodeunits',
|
||||
'classfile' => '/core/class/cmeasuringunits.class.php',
|
||||
'class' => 'CMeasuringUnits',
|
||||
'classfile' => '/core/class/cunits.class.php',
|
||||
'class' => 'CUnits',
|
||||
'method' => 'fetch',
|
||||
'units' => 'surface',
|
||||
'dict' => 'DictionaryMeasuringUnits'
|
||||
),
|
||||
'p.volume_units' => array(
|
||||
'rule' => 'fetchidfromcodeunits',
|
||||
'classfile' => '/core/class/cmeasuringunits.class.php',
|
||||
'class' => 'CMeasuringUnits',
|
||||
'classfile' => '/core/class/cunits.class.php',
|
||||
'class' => 'CUnits',
|
||||
'method' => 'fetch',
|
||||
'units' => 'volume',
|
||||
'dict' => 'DictionaryMeasuringUnits'
|
||||
|
||||
@ -35,6 +35,5 @@ create table llx_prelevement_facture_demande
|
||||
number varchar(255),
|
||||
cle_rib varchar(5),
|
||||
ext_payment_id varchar(128),
|
||||
ext_payment_site varchar(128),
|
||||
|
||||
ext_payment_site varchar(128)
|
||||
)ENGINE=innodb;
|
||||
|
||||
@ -318,8 +318,8 @@ class FormProduct
|
||||
|
||||
$measuring_units = array();
|
||||
|
||||
require_once DOL_DOCUMENT_ROOT . '/core/class/cmeasuringunits.class.php';
|
||||
$measuringUnits = new CMeasuringUnits($db);
|
||||
require_once DOL_DOCUMENT_ROOT . '/core/class/cunits.class.php';
|
||||
$measuringUnits = new CUnits($db);
|
||||
$result = $measuringUnits->fetchAll('', '', 0, 0, array(
|
||||
't.unit_type' => $measuring_style,
|
||||
't.active' => 1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user