feat: langs trans ref_employee and national registration number
This commit is contained in:
parent
dcabd046d9
commit
e2f727ef55
@ -51,6 +51,8 @@ CivilityCode=Civility code
|
|||||||
RegisteredOffice=Registered office
|
RegisteredOffice=Registered office
|
||||||
Lastname=Last name
|
Lastname=Last name
|
||||||
Firstname=First name
|
Firstname=First name
|
||||||
|
RefEmployee=Employee reference
|
||||||
|
NationalRegistrationNumber=National registration number
|
||||||
PostOrFunction=Job position
|
PostOrFunction=Job position
|
||||||
UserTitle=Title
|
UserTitle=Title
|
||||||
NatureOfThirdParty=Nature of Third party
|
NatureOfThirdParty=Nature of Third party
|
||||||
|
|||||||
@ -510,7 +510,7 @@ if ($action != 'edit' && $action != 'create') { // If not bank account yet, $ac
|
|||||||
|
|
||||||
// Employee Number
|
// Employee Number
|
||||||
if (!empty($conf->accounting->enabled)) {
|
if (!empty($conf->accounting->enabled)) {
|
||||||
print '<tr><td>'.$langs->trans("ref_employee").'</td>';
|
print '<tr><td>'.$langs->trans("RefEmployee").'</td>';
|
||||||
print '<td>'.$object->ref_employee.'</td></tr>';
|
print '<td>'.$object->ref_employee.'</td></tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -850,13 +850,13 @@ if ($action == 'create' || $action == 'adduserldap') {
|
|||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
// Ref remployee
|
// Ref remployee
|
||||||
print '<tr><td>'.$langs->trans("ref_employee").'</td>';
|
print '<tr><td>'.$langs->trans("RefEmployee").'</td>';
|
||||||
print '<td>';
|
print '<td>';
|
||||||
print '<input class="minwidth100 maxwidth150onsmartphone" type="text" name="ref_employee" value="'.dol_escape_htmltag(GETPOST('ref_employee', 'alphanohtml')).'">';
|
print '<input class="minwidth100 maxwidth150onsmartphone" type="text" name="ref_employee" value="'.dol_escape_htmltag(GETPOST('ref_employee', 'alphanohtml')).'">';
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
// National registration number
|
// National registration number
|
||||||
print '<tr><td>'.$langs->trans("national_registration_number").'</td>';
|
print '<tr><td>'.$langs->trans("NationalRegistrationNumber").'</td>';
|
||||||
print '<td>';
|
print '<td>';
|
||||||
print '<input class="minwidth100 maxwidth150onsmartphone" type="text" name="national_registration_number" value="'.dol_escape_htmltag(GETPOST('national_registration_number', 'alphanohtml')).'">';
|
print '<input class="minwidth100 maxwidth150onsmartphone" type="text" name="national_registration_number" value="'.dol_escape_htmltag(GETPOST('national_registration_number', 'alphanohtml')).'">';
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
@ -2106,7 +2106,7 @@ if ($action == 'create' || $action == 'adduserldap') {
|
|||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
// Ref employee
|
// Ref employee
|
||||||
print "<tr>".'<td>'.$langs->trans("ref_employee").'</td>';
|
print "<tr>".'<td>'.$langs->trans("RefEmployee").'</td>';
|
||||||
print '<td>';
|
print '<td>';
|
||||||
if ($caneditfield && !$object->ldap_sid) {
|
if ($caneditfield && !$object->ldap_sid) {
|
||||||
print '<input class="minwidth100" type="text" class="flat" name="ref_employee" value="'.$object->ref_employee.'">';
|
print '<input class="minwidth100" type="text" class="flat" name="ref_employee" value="'.$object->ref_employee.'">';
|
||||||
@ -2117,7 +2117,7 @@ if ($action == 'create' || $action == 'adduserldap') {
|
|||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
// National registration number
|
// National registration number
|
||||||
print "<tr>".'<td>'.$langs->trans("national_registration_number").'</td>';
|
print "<tr>".'<td>'.$langs->trans("NationalRegistrationNumber").'</td>';
|
||||||
print '<td>';
|
print '<td>';
|
||||||
if ($caneditfield && !$object->ldap_sid) {
|
if ($caneditfield && !$object->ldap_sid) {
|
||||||
print '<input class="minwidth100" type="text" class="flat" name="national_registration_number" value="'.$object->national_registration_number.'">';
|
print '<input class="minwidth100" type="text" class="flat" name="national_registration_number" value="'.$object->national_registration_number.'">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user