Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
150afca950
4 changed files with 22 additions and 12 deletions
|
|
@ -2211,7 +2211,9 @@ class Form
|
|||
$outarray2[$userstatic->id] = array(
|
||||
'id'=>$userstatic->id,
|
||||
'label'=>$labeltoshow,
|
||||
'labelhtml'=>$labeltoshowhtml
|
||||
'labelhtml'=>$labeltoshowhtml,
|
||||
'color'=>'',
|
||||
'picto'=>''
|
||||
);
|
||||
|
||||
$i++;
|
||||
|
|
|
|||
|
|
@ -466,7 +466,7 @@ class modFournisseur extends DolibarrModules
|
|||
'f.note_public'=>"NotePublic", 'f.note_private'=>"NotePrivate", 'uv.login'=>'UserValidation', 'ua1.login'=>'ApprovedBy', 'ua2.login'=>'ApprovedBy2', 'fd.rowid'=>'LineId', 'fd.description'=>"LineDescription",
|
||||
'fd.tva_tx'=>"LineVATRate", 'fd.qty'=>"LineQty", 'fd.remise_percent'=>"Discount", 'fd.total_ht'=>"LineTotalHT", 'fd.total_ttc'=>"LineTotalTTC",
|
||||
'fd.total_tva'=>"LineTotalVAT", 'fd.date_start'=>"DateStart", 'fd.date_end'=>"DateEnd", 'fd.special_code'=>'SpecialCode',
|
||||
'fd.product_type'=>'TypeOfLineServiceOrProduct', 'fd.ref'=>'RefSupplier', 'fd.fk_product'=>'ProductId',
|
||||
'fd.product_type'=>'TypeOfLineServiceOrProduct', 'fd.ref'=>'SupplierRef', 'fd.fk_product'=>'ProductId',
|
||||
'p.ref'=>'ProductRef', 'p.label'=>'ProductLabel', 'project.rowid'=>'ProjectId', 'project.ref'=>'ProjectRef', 'project.title'=>'ProjectLabel'
|
||||
);
|
||||
if (isModEnabled("multicurrency")) {
|
||||
|
|
@ -814,6 +814,7 @@ class modFournisseur extends DolibarrModules
|
|||
'cd.fk_commande' => 'PurchaseOrder*',
|
||||
'cd.fk_parent_line' => 'ParentLine',
|
||||
'cd.fk_product' => 'IdProduct',
|
||||
'cd.ref' => 'SupplierRef',
|
||||
'cd.description' => 'LineDescription',
|
||||
'cd.tva_tx' => 'LineVATRate',
|
||||
'cd.qty' => 'LineQty',
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
/* Copyright (C) 2010-2012 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2012 Juanjo Menent <jmenent@2byte.es>
|
||||
* Copyright (C) 2013 Florian Henry <florian.henry@ope-concept.pro>
|
||||
* Copyright (C) 2016 Charlie Benke <charlie@patas-monkey.com>
|
||||
* Copyright (C) 2016-2023 Charlene Benke <charlene@patas-monkey.com>
|
||||
* Copyright (C) 2018 Frédéric France <frederic.france@netlogic.fr>
|
||||
* Copyright (C) 2023 Gauthier VERDOL <gauthier.verdol@atm-consulting.fr>
|
||||
*
|
||||
|
|
@ -195,6 +195,8 @@ class doc_generic_project_odt extends ModelePDFProjects
|
|||
'task_fk_parent'=>$task->fk_parent,
|
||||
'task_duration'=>$task->duration,
|
||||
'task_duration_hour'=>convertSecondToTime($task->duration, 'all'),
|
||||
'task_planned_workload'=>$task->planned_workload,
|
||||
'task_planned_workload_hour'=>convertSecondToTime($task->planned_workload, 'all'),
|
||||
'task_progress'=>$task->progress,
|
||||
'task_public'=>$task->public,
|
||||
'task_date_start'=>dol_print_date($task->date_start, 'day'),
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@ $action = GETPOST('action', 'aZ09');
|
|||
$setterminal = GETPOST('setterminal', 'int');
|
||||
$setcurrency = GETPOST('setcurrency', 'aZ09');
|
||||
|
||||
$hookmanager->initHooks(array('takeposfrontend'));
|
||||
if (empty($_SESSION["takeposterminal"])) {
|
||||
if (getDolGlobalInt('TAKEPOS_NUM_TERMINALS') == 1) {
|
||||
$_SESSION["takeposterminal"] = 1; // Use terminal 1 if there is only 1 terminal
|
||||
|
|
@ -1060,15 +1061,20 @@ if (empty($conf->global->TAKEPOS_HIDE_HEAD_BAR)) {
|
|||
?>
|
||||
</div>
|
||||
<div id="topnav-right" class="topnav-right">
|
||||
<div class="login_block_other">
|
||||
<?php
|
||||
$reshook = $hookmanager->executeHooks('takepos_login_block_other');
|
||||
if ($reshook == 0) { //Search method ?>
|
||||
<div class="login_block_other">
|
||||
<input type="text" id="search" name="search" class="input-search-takepos" onkeyup="Search2('<?php echo dol_escape_js($keyCodeForEnter); ?>', null);" placeholder="<?php echo dol_escape_htmltag($langs->trans("Search")); ?>" autofocus>
|
||||
<a onclick="ClearSearch();"><span class="fa fa-backspace"></span></a>
|
||||
<a href="<?php echo DOL_URL_ROOT.'/'; ?>" target="backoffice" rel="opener"><!-- we need rel="opener" here, we are on same domain and we need to be able to reuse this tab several times -->
|
||||
<span class="fas fa-home"></span></a>
|
||||
<?php if (empty($conf->dol_use_jmobile)) { ?>
|
||||
<a class="hideonsmartphone" onclick="FullScreen();"><span class="fa fa-expand-arrows-alt"></span></a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<a onclick="ClearSearch();"><span class="fa fa-backspace"></span></a>
|
||||
<a href="<?php echo DOL_URL_ROOT.'/'; ?>" target="backoffice" rel="opener"><!-- we need rel="opener" here, we are on same domain and we need to be able to reuse this tab several times -->
|
||||
<span class="fas fa-home"></span></a>
|
||||
<?php if (empty($conf->dol_use_jmobile)) {?>
|
||||
<a class="hideonsmartphone" onclick="FullScreen();"><span class="fa fa-expand-arrows-alt"></span></a>
|
||||
<?php }?>
|
||||
</div>
|
||||
<?php
|
||||
}?>
|
||||
<div class="login_block_user">
|
||||
<?php
|
||||
print top_menu_user(1);
|
||||
|
|
@ -1312,7 +1318,6 @@ if ($resql) {
|
|||
}
|
||||
}
|
||||
|
||||
$hookmanager->initHooks(array('takeposfrontend'));
|
||||
$parameters = array('menus'=>$menus);
|
||||
$reshook = $hookmanager->executeHooks('ActionButtons', $parameters);
|
||||
if ($reshook == 0) { //add buttons
|
||||
|
|
|
|||
Loading…
Reference in a new issue