Replace deprecated code

This commit is contained in:
Laurent Destailleur 2021-03-20 21:46:10 +01:00
parent fc2308d810
commit eeb1c5d884
4 changed files with 5 additions and 5 deletions

View File

@ -405,7 +405,7 @@ if ($action == 'create') {
print '</div>'; print '</div>';
print "<br>\n"; print "<br>\n";
dol_fiche_head(); print dol_get_fiche_head();
print '<table class="border centpercent">'; print '<table class="border centpercent">';
@ -512,7 +512,7 @@ if ($id) {
print '<input type="hidden" name="token" value="'.newToken().'">'; print '<input type="hidden" name="token" value="'.newToken().'">';
} }
dol_fiche_head($head, 'card', $langs->trans("VATPayment"), -1, 'payment'); print dol_get_fiche_head($head, 'card', $langs->trans("VATPayment"), -1, 'payment');
$morehtmlref = '<div class="refidno">'; $morehtmlref = '<div class="refidno">';
// Label of social contribution // Label of social contribution

View File

@ -124,7 +124,7 @@ class FormTicket
/** /**
* Show the form to input ticket * Show the form to input ticket
* *
* @param int $withdolfichehead With dol_fiche_head * @param int $withdolfichehead With dol_get_fiche_head() and dol_get_fiche_end()
* @param string $mode Mode ('create' or 'edit') * @param string $mode Mode ('create' or 'edit')
* @return void * @return void
*/ */

View File

@ -174,7 +174,7 @@ if ($action == 'create') {
print '<input type="hidden" name="chid" value="'.$chid.'">'; print '<input type="hidden" name="chid" value="'.$chid.'">';
print '<input type="hidden" name="action" value="add_payment">'; print '<input type="hidden" name="action" value="add_payment">';
dol_fiche_head('', ''); print dol_get_fiche_end();
print '<table class="border centpercent">'; print '<table class="border centpercent">';

View File

@ -97,7 +97,7 @@ $h++;
*/ */
dol_fiche_head($head, $hselected, $langs->trans("SalaryPayment"), -1, 'payment'); print dol_get_fiche_head($head, $hselected, $langs->trans("SalaryPayment"), -1, 'payment');
/* /*
* Deletion confirmation of payment * Deletion confirmation of payment