Look and feel v18
This commit is contained in:
parent
8208884af4
commit
f84a8361bc
@ -146,7 +146,7 @@ function payment_supplier_prepare_head(Paiement $object)
|
||||
*/
|
||||
function getValidOnlinePaymentMethods($paymentmethod = '')
|
||||
{
|
||||
global $conf, $langs, $hookmanager, $action;
|
||||
global $langs, $hookmanager, $action;
|
||||
|
||||
$validpaymentmethod = array();
|
||||
|
||||
@ -434,6 +434,8 @@ function htmlPrintOnlinePaymentFooter($fromcompany, $langs, $addformmessage = 0,
|
||||
{
|
||||
global $conf;
|
||||
|
||||
$reg = array();
|
||||
|
||||
// Juridical status
|
||||
$line1 = "";
|
||||
if ($fromcompany->forme_juridique_code) {
|
||||
@ -485,9 +487,8 @@ function htmlPrintOnlinePaymentFooter($fromcompany, $langs, $addformmessage = 0,
|
||||
|
||||
print '<!-- htmlPrintOnlinePaymentFooter -->'."\n";
|
||||
|
||||
print '<footer class="center paddingleft paddingright centpercent">'."\n";
|
||||
print '<br>';
|
||||
|
||||
print '<div class="center paddingleft paddingright centpercent">'."\n";
|
||||
if ($addformmessage) {
|
||||
print '<!-- object = '.(empty($object) ? 'undefined' : $object->element).' -->';
|
||||
print '<br>';
|
||||
@ -519,5 +520,6 @@ function htmlPrintOnlinePaymentFooter($fromcompany, $langs, $addformmessage = 0,
|
||||
print ' - ';
|
||||
}
|
||||
print $line2;
|
||||
print '</span></div>'."\n";
|
||||
print '</span>';
|
||||
print '</footer>'."\n";
|
||||
}
|
||||
|
||||
@ -881,7 +881,7 @@ if ($id && empty($user->rights->holiday->readall) && !in_array($id, $childids))
|
||||
print '<div class="box-flex-container kanban">';
|
||||
}
|
||||
|
||||
$holidaystatic->fk_type = $typeleaves[$obj->fk_type]['rowid'];
|
||||
$holidaystatic->fk_type = empty($typeleaves[$obj->fk_type]['rowid']) ? 0 : $typeleaves[$obj->fk_type]['rowid'];
|
||||
|
||||
// Output Kanban
|
||||
if ($massactionbutton || $massaction) {
|
||||
|
||||
@ -451,8 +451,6 @@ print '</div>'."\n";
|
||||
print '<br>';
|
||||
|
||||
|
||||
//htmlPrintOnlinePaymentFooter($mysoc, $langs);
|
||||
|
||||
print '<div class="backgreypublicpayment">';
|
||||
print '<div class="center">';
|
||||
print '<a href="'.$urlforqrcode.'">';
|
||||
|
||||
@ -1248,10 +1248,12 @@ if ($action == 'create' || $action == 'presend') {
|
||||
}
|
||||
print '</td></tr>';
|
||||
// Group
|
||||
print '<tr><td>'.$langs->trans("TicketCategory").'</td><td>';
|
||||
$s = '';
|
||||
if (!empty($object->category_code)) {
|
||||
print $langs->getLabelFromKey($db, 'TicketCategoryShort'.$object->category_code, 'c_ticket_category', 'code', 'label', $object->category_code);
|
||||
$s = $langs->getLabelFromKey($db, 'TicketCategoryShort'.$object->category_code, 'c_ticket_category', 'code', 'label', $object->category_code);
|
||||
}
|
||||
print '<tr><td>'.$langs->trans("TicketCategory").'</td><td class="tdoverflowmax200" title="'.dol_escape_htmltag($s).'">';
|
||||
print dol_escape_htmltag($s);
|
||||
print '</td></tr>';
|
||||
// Severity
|
||||
print '<tr><td>'.$langs->trans("TicketSeverity").'</td><td>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user