- | global->MAIN_VIEW_LINE_NUMBER) ? ' colspan="4"' : ' colspan="3"'); ?>>
+ | global->MAIN_VIEW_LINE_NUMBER) ? ' colspan="3"' : ' colspan="2"'); ?>>
trans("AddNewLine").' - ';
if ($conf->service->enabled)
@@ -38,6 +38,8 @@
echo $langs->trans('RecordedProducts');
?>
|
+ trans('PriceUHT'); ?> |
+ trans('PriceUTTC'); ?> |
trans('Qty'); ?> |
trans('ReductionShort'); ?> |
margin->enabled)) {
>
- | global->MAIN_VIEW_LINE_NUMBER) ? ' colspan="4"' : ' colspan="3"'); ?>>
+ | global->MAIN_VIEW_LINE_NUMBER) ? ' colspan="3"' : ' colspan="2"'); ?>>
select_produits('','idprod','',$conf->product->limit_size,$buyer->price_level);
+ $ajaxoptions=array(
+ 'update' => array(
+ 'dp_price_ht' => 'price_ht',
+ 'dp_price_ttc' => 'price_ttc'
+ )
+ );
+ $form->select_produits('', 'idprod', '', $conf->product->limit_size, $buyer->price_level, 1, 2, '', 0, $ajaxoptions);
if (is_object($hookmanager))
{
@@ -84,19 +92,21 @@ jQuery(document).ready(function() {
require_once(DOL_DOCUMENT_ROOT."/core/class/doleditor.class.php");
$nbrows=ROWS_2;
if (! empty($conf->global->MAIN_INPUT_DESC_HEIGHT)) $nbrows=$conf->global->MAIN_INPUT_DESC_HEIGHT;
- $doleditor=new DolEditor('np_desc',$_POST["np_desc"],'',100,'dolibarr_details','',false,true,$conf->global->FCKEDITOR_ENABLE_DETAILS,$nbrows,70);
+ $doleditor=new DolEditor('dp_desc',$_POST["dp_desc"],'',100,'dolibarr_details','',false,true,$conf->global->FCKEDITOR_ENABLE_DETAILS,$nbrows,70);
$doleditor->Create();
?>
|
+ "> |
+ "> |
|
- % |
+ % |
margin->enabled)) {
?>
-
- ">
+
+ ">
|
global->DISPLAY_MARGIN_RATES)