mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Replace deprecated code
This commit is contained in:
parent
fc2308d810
commit
eeb1c5d884
|
|
@ -405,7 +405,7 @@ if ($action == 'create') {
|
|||
print '</div>';
|
||||
print "<br>\n";
|
||||
|
||||
dol_fiche_head();
|
||||
print dol_get_fiche_head();
|
||||
|
||||
print '<table class="border centpercent">';
|
||||
|
||||
|
|
@ -512,7 +512,7 @@ if ($id) {
|
|||
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">';
|
||||
// Label of social contribution
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@ class FormTicket
|
|||
/**
|
||||
* 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')
|
||||
* @return void
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -174,7 +174,7 @@ if ($action == 'create') {
|
|||
print '<input type="hidden" name="chid" value="'.$chid.'">';
|
||||
print '<input type="hidden" name="action" value="add_payment">';
|
||||
|
||||
dol_fiche_head('', '');
|
||||
print dol_get_fiche_end();
|
||||
|
||||
print '<table class="border centpercent">';
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user