NEW llxHeader CSS Body Expedition (#30384)

Co-authored-by: atm-lena <lena.papazian@atm-consulting.fr>
This commit is contained in:
atm-lena 2024-07-15 20:37:16 +02:00 committed by GitHub
parent 67a0faf306
commit 6ba6eef247
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 10 additions and 10 deletions

View File

@ -893,7 +893,7 @@ if ($action == 'create2') {
}
$help_url = 'EN:Module_Shipments|FR:Module_Expéditions|ES:M&oacute;dulo_Expediciones|DE:Modul_Lieferungen';
llxHeader('', $title, $help_url);
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-expedition page-card');
if (empty($action)) {
$action = 'view';

View File

@ -126,7 +126,7 @@ if (empty($reshook)) {
$help_url = 'EN:Module_Shipments|FR:Module_Expéditions|ES:M&oacute;dulo_Expediciones|DE:Modul_Lieferungen';
llxHeader('', $langs->trans('Order'), $help_url);
llxHeader('', $langs->trans('Order'), $help_url, '', 0, 0, '', '', '', 'mod-expedition page-card_contact');
$form = new Form($db);
$formcompany = new FormCompany($db);

View File

@ -377,7 +377,7 @@ $title = $object->ref." - ".$langs->trans('ShipmentDistribution');
$help_url = 'EN:Module_Shipments|FR:Module_Expéditions|ES:M&oacute;dulo_Expediciones|DE:Modul_Lieferungen';
$morejs = array('/expedition/js/lib_dispatch.js.php');
llxHeader('', $title, $help_url, '', 0, 0, $morejs);
llxHeader('', $title, $help_url, '', 0, 0, $morejs, '', '', 'mod-expedition page-card_dispatch');
if ($object->id > 0 || !empty($object->ref)) {
$lines = $object->lines; // This is an array of detail of line, on line per source order line found intolines[]->fk_elementdet, then each line may have sub data

View File

@ -109,7 +109,7 @@ include DOL_DOCUMENT_ROOT.'/core/actions_linkedfiles.inc.php';
* View
*/
llxHeader('', $langs->trans('Order'), 'EN:Customers_Orders|FR:expeditions_Clients|ES:Pedidos de clientes');
llxHeader('', $langs->trans('Order'), 'EN:Customers_Orders|FR:expeditions_Clients|ES:Pedidos de clientes', '', 0, 0, '', '', '', 'mod-expedition page-card_document');
$form = new Form($db);

View File

@ -50,7 +50,7 @@ $companystatic = new Societe($db);
$shipment = new Expedition($db);
$helpurl = 'EN:Module_Shipments|FR:Module_Exp&eacute;ditions|ES:M&oacute;dulo_Expediciones';
llxHeader('', $langs->trans("Shipment"), $helpurl);
llxHeader('', $langs->trans("Shipment"), $helpurl, '', 0, 0, '', '', '', 'mod-expedition page-index');
print load_fiche_titre($langs->trans("SendingsArea"), '', 'dolly');

View File

@ -644,7 +644,7 @@ $shipment = new Expedition($db);
$title = $langs->trans('ListOfSendings');
$help_url = 'EN:Module_Shipments|FR:Module_Exp&eacute;ditions|ES:M&oacute;dulo_Expediciones';
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'bodyforlist');
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'bodyforlist mod-expedition page-list');
$sql = 'SELECT';
if ($search_all || $search_user > 0) {

View File

@ -92,7 +92,7 @@ if (empty($reshook)) {
* View
*/
llxHeader();
llxHeader('', '', '', '', 0, 0, '', '', '', 'mod-expedition page-card_note');
$form = new Form($db);

View File

@ -234,7 +234,7 @@ if (isModEnabled('project')) {
$title = $object->ref." - ".$langs->trans('Shipments');
$help_url = 'EN:Customers_Orders|FR:Commandes_Clients|ES:Pedidos de clientes|DE:Modul_Kundenaufträge';
llxHeader('', $title, $help_url);
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-expedition page-shipment');
if ($id > 0 || !empty($ref)) {

View File

@ -61,7 +61,7 @@ restrictedArea($user, 'expedition');
$form = new Form($db);
llxHeader();
llxHeader('', '', '', '', 0, 0, '', '', '', 'mod-expedition page-stats_index');
print load_fiche_titre($langs->trans("StatisticsOfSendings"), '', 'dolly');

View File

@ -41,7 +41,7 @@ restrictedArea($user, 'expedition');
* View
*/
llxHeader();
llxHeader('', '', '', '', 0, 0, '', '', '', 'mod-expedition page-stats_month');
$WIDTH = DolGraph::getDefaultGraphSizeForStats('width');
$HEIGHT = DolGraph::getDefaultGraphSizeForStats('height');