CSS
This commit is contained in:
parent
6fad0f7312
commit
19dd30672b
2 changed files with 13 additions and 9 deletions
|
|
@ -32,11 +32,6 @@
|
||||||
|
|
||||||
// Load Dolibarr environment
|
// Load Dolibarr environment
|
||||||
require '../main.inc.php';
|
require '../main.inc.php';
|
||||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
|
|
||||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/pdf.lib.php';
|
|
||||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/expensereport.lib.php';
|
|
||||||
require_once DOL_DOCUMENT_ROOT.'/expensereport/class/expensereport.class.php';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var Conf $conf
|
* @var Conf $conf
|
||||||
* @var DoliDB $db
|
* @var DoliDB $db
|
||||||
|
|
@ -44,6 +39,10 @@ require_once DOL_DOCUMENT_ROOT.'/expensereport/class/expensereport.class.php';
|
||||||
* @var Translate $langs
|
* @var Translate $langs
|
||||||
* @var User $user
|
* @var User $user
|
||||||
*/
|
*/
|
||||||
|
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
|
||||||
|
require_once DOL_DOCUMENT_ROOT.'/core/lib/pdf.lib.php';
|
||||||
|
require_once DOL_DOCUMENT_ROOT.'/core/lib/expensereport.lib.php';
|
||||||
|
require_once DOL_DOCUMENT_ROOT.'/expensereport/class/expensereport.class.php';
|
||||||
|
|
||||||
// Load translation files required by the page
|
// Load translation files required by the page
|
||||||
$langs->loadLangs(array('admin', 'errors', 'trips', 'other'));
|
$langs->loadLangs(array('admin', 'errors', 'trips', 'other'));
|
||||||
|
|
@ -216,6 +215,7 @@ print dol_get_fiche_head($head, 'expensereport', $langs->trans("ExpenseReports")
|
||||||
|
|
||||||
print load_fiche_titre($langs->trans("ExpenseReportNumberingModules"), '', '');
|
print load_fiche_titre($langs->trans("ExpenseReportNumberingModules"), '', '');
|
||||||
|
|
||||||
|
print '<div class="div-table-responsive-no-min">';
|
||||||
print '<table class="noborder centpercent">';
|
print '<table class="noborder centpercent">';
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
print '<td>'.$langs->trans("Name").'</td>';
|
print '<td>'.$langs->trans("Name").'</td>';
|
||||||
|
|
@ -310,7 +310,7 @@ foreach ($dirmodels as $reldir) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
print "</table><br>\n";
|
print "</table></div><br>\n";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Documents models for ExpenseReport
|
* Documents models for ExpenseReport
|
||||||
|
|
@ -340,6 +340,7 @@ if ($resql) {
|
||||||
dol_print_error($db);
|
dol_print_error($db);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
print '<div class="div-table-responsive-no-min">';
|
||||||
print '<table class="noborder centpercent">';
|
print '<table class="noborder centpercent">';
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
print '<td>'.$langs->trans("Name").'</td>';
|
print '<td>'.$langs->trans("Name").'</td>';
|
||||||
|
|
@ -450,7 +451,7 @@ foreach ($dirmodels as $reldir) {
|
||||||
}
|
}
|
||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
print '</div>';
|
||||||
|
|
||||||
print '<br>';
|
print '<br>';
|
||||||
|
|
||||||
|
|
@ -465,6 +466,8 @@ print '<input type="hidden" name="token" value="'.newToken().'">';
|
||||||
print '<input type="hidden" name="action" value="setoptions">';
|
print '<input type="hidden" name="action" value="setoptions">';
|
||||||
|
|
||||||
print load_fiche_titre($langs->trans("OtherOptions"), '', '');
|
print load_fiche_titre($langs->trans("OtherOptions"), '', '');
|
||||||
|
|
||||||
|
print '<div class="div-table-responsive-no-min">';
|
||||||
print '<table class="noborder centpercent">';
|
print '<table class="noborder centpercent">';
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
print '<td>'.$langs->trans("Parameter").'</td>';
|
print '<td>'.$langs->trans("Parameter").'</td>';
|
||||||
|
|
@ -525,6 +528,7 @@ print $form->selectyesno('EXPENSEREPORT_BLOCK_LINE_CREATION_IF_NOT_BETWEEN_DATES
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
print '</div>';
|
||||||
|
|
||||||
print $form->buttonsSaveCancel("Save", '');
|
print $form->buttonsSaveCancel("Save", '');
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -409,7 +409,7 @@ if ($usersection) {
|
||||||
// Output payment summary form
|
// Output payment summary form
|
||||||
print '<tr><td class="left">';
|
print '<tr><td class="left">';
|
||||||
|
|
||||||
print '<div class="nowidthimp nopaddingtoponsmartphone" id="tablepublicpayment">';
|
print '<div class="nowidthimp" id="tablepublicpayment">';
|
||||||
|
|
||||||
print $usersection;
|
print $usersection;
|
||||||
|
|
||||||
|
|
@ -507,7 +507,7 @@ if (!getDolUserInt('USER_PUBLIC_HIDE_COMPANY', 0, $object)) {
|
||||||
print '<tr><td class="left">';
|
print '<tr><td class="left">';
|
||||||
|
|
||||||
if ($companysection || $mysoc->name) {
|
if ($companysection || $mysoc->name) {
|
||||||
print '<div class="nowidthimp nopaddingtoponsmartphone" id="tablepublicpayment">';
|
print '<div class="nowidthimp" id="tablepublicpayment">';
|
||||||
|
|
||||||
// Add company info
|
// Add company info
|
||||||
if ($mysoc->name) {
|
if ($mysoc->name) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue