From 692d8beb0af1dd065045c3d3538a8be9bcbe15d1 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 24 Aug 2011 21:19:04 +0000 Subject: [PATCH] Fix: syntax error in tpl/predefinedproductline_edit.tpl.php --- .../tpl/predefinedproductline_edit.tpl.php | 65 ++++++++++--------- 1 file changed, 36 insertions(+), 29 deletions(-) diff --git a/htdocs/core/tpl/predefinedproductline_edit.tpl.php b/htdocs/core/tpl/predefinedproductline_edit.tpl.php index 052a83c2c20..5d708088429 100644 --- a/htdocs/core/tpl/predefinedproductline_edit.tpl.php +++ b/htdocs/core/tpl/predefinedproductline_edit.tpl.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . * - * $Id: predefinedproductline_edit.tpl.php,v 1.20 2011/08/11 09:25:07 hregis Exp $ + * $Id: predefinedproductline_edit.tpl.php,v 1.21 2011/08/24 21:19:04 hregis Exp $ * * Need to have following variables defined: * $conf @@ -27,23 +27,24 @@ ?> -
id; ?>" - method="POST"> +id; ?>" method="POST"> + + + + > - + + + + product_type==1) echo img_object($langs->trans('ShowService'),'service'); else print img_object($langs->trans('ShowProduct'),'product'); echo ' '.$line->ref; - ?> + + product_label); echo '
'; @@ -60,28 +61,33 @@ require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php"); $doleditor=new DolEditor('desc',$line->description,'',164,'dolibarr_details','',false,true,$conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_DETAILS,$nbrows,70); $doleditor->Create(); - ?> + ?> + load_tva('tva_tx',$line->tva_tx,$seller,$buyer,'',$line->info_bits); ?> - - - info_bits & 2) != 2) { ?>   + + - info_bits & 2) != 2) { ?> % -   + + info_bits & 2) != 2) { ?> + +   + - ">
- "> + + info_bits & 2) != 2) { ?> + % + +   + + + + + ">
+ "> + service->enabled && $dateSelector && $line->product_type == 1) { ?> @@ -91,7 +97,8 @@ echo $html->select_date($line->date_start,'date_start',$conf->global->MAIN_USE_HOURMIN_IN_DATE_RANGE,$conf->global->MAIN_USE_HOURMIN_IN_DATE_RANGE,$line->date_start?0:1,"updateligne"); echo ' '.$langs->trans('to').' '; echo $html->select_date($line->date_end,'date_end',$conf->global->MAIN_USE_HOURMIN_IN_DATE_RANGE,$conf->global->MAIN_USE_HOURMIN_IN_DATE_RANGE,$line->date_end?0:1,"updateligne"); - ?> + ?> +
\ No newline at end of file