From 2133b1c3b53fcfb121439ff7949924ec3d2cd4a0 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 8 Aug 2016 20:31:03 +0200 Subject: [PATCH] NEW Table with list of lots/serial can be viewed (module product batch). --- dev/skeletons/skeleton_list.php | 12 +- htdocs/core/menus/init_menu_auguria.sql | 5 +- htdocs/core/menus/standard/eldy.lib.php | 3 +- htdocs/core/modules/modStock.class.php | 2 +- htdocs/fourn/commande/dispatch.php | 8 +- htdocs/langs/en_US/main.lang | 4 + htdocs/langs/en_US/productbatch.lang | 4 +- htdocs/langs/en_US/products.lang | 4 +- htdocs/langs/en_US/stocks.lang | 3 + htdocs/product/reassort.php | 2 +- htdocs/product/reassortlot.php | 4 +- htdocs/product/stats/card.php | 1 + htdocs/product/stock/index.php | 4 +- htdocs/product/stock/mouvement.php | 4 +- htdocs/product/stock/product.php | 4 +- htdocs/product/stock/productlot_card.php | 2 +- htdocs/product/stock/productlot_list.php | 335 +++++++++++------- .../product/stock/tpl/stockcorrection.tpl.php | 4 +- .../product/stock/tpl/stocktransfer.tpl.php | 4 +- 19 files changed, 251 insertions(+), 158 deletions(-) diff --git a/dev/skeletons/skeleton_list.php b/dev/skeletons/skeleton_list.php index b53231e24a0..5058e4a7d5a 100644 --- a/dev/skeletons/skeleton_list.php +++ b/dev/skeletons/skeleton_list.php @@ -103,7 +103,7 @@ $arrayfields=array( 't.field1'=>array('label'=>$langs->trans("Field1"), 'checked'=>1), 't.field2'=>array('label'=>$langs->trans("Field2"), 'checked'=>1), //'t.entity'=>array('label'=>$langs->trans("Entity"), 'checked'=>1, 'enabled'=>(! empty($conf->multicompany->enabled) && empty($conf->multicompany->transverse_mode))), - 't.datec'=>array('label'=>$langs->trans("DateCreation"), 'checked'=>0, 'position'=>500), + 't.datec'=>array('label'=>$langs->trans("DateCreationShort"), 'checked'=>0, 'position'=>500), 't.tms'=>array('label'=>$langs->trans("DateModificationShort"), 'checked'=>0, 'position'=>500), //'t.statut'=>array('label'=>$langs->trans("Status"), 'checked'=>1, 'position'=>1000), ); @@ -179,10 +179,10 @@ $form=new Form($db); //$help_url="EN:Module_Customers_Orders|FR:Module_Commandes_Clients|ES:Módulo_Pedidos_de_clientes"; $help_url=''; -llxHeader('','MyPageName',$help_url); +$title = $langs->trans('MyModuleListTitle'); +llxHeader('', $title, $help_url); // Put here content of your page -$title = $langs->trans('MyModuleListTitle'); // Example : Adding jquery code print '