diff --git a/htdocs/compta/salaries/card.php b/htdocs/compta/salaries/card.php index e658633e7b0..969b840aeb9 100644 --- a/htdocs/compta/salaries/card.php +++ b/htdocs/compta/salaries/card.php @@ -201,7 +201,11 @@ if ($id) } } -// Formulaire saisie salaire +/* ************************************************************************** */ +/* */ +/* create mode */ +/* */ +/* ************************************************************************** */ if ($action == 'create') { $year_current = strftime("%Y",dol_now()); @@ -231,50 +235,64 @@ if ($action == 'create') print '
| '; + // Date payment + print ' | |
| '; + print fieldLabel('DatePayment','datep',1).' | '; print $form->select_date((empty($datep)?-1:$datep),"datep",'','','','add',1,1); print ' |
| '; + // Date value for bank + print ' | |
| '; + print fieldLabel('DateValue','datev',0).' | '; print $form->select_date((empty($datev)?-1:$datev),"datev",'','','','add',1,1); print ' |
| '; + print ' | |
| '; + print fieldLabel('Employee','fk_user',1).' | '; print $form->select_dolusers(GETPOST('fk_user','int'),'fk_user',1); print ' |
| trans("SalaryPayment")).'"> | |
| '; + print fieldLabel('Label','label',1).' | '; + print 'trans("SalaryPayment")).'">'; + print ' |
| '; + // Date start period + print ' | |
| '; + print fieldLabel('DateStartPeriod','datesp',1).' | '; print $form->select_date($datesp,"datesp",'','','','add'); print ' |
| '; + // Date end period + print ' | |
| '; + print fieldLabel('DateEndPeriod','dateep',1).' | '; print $form->select_date($dateep,"dateep",'','','','add'); print ' |
| '; + print fieldLabel('Amount','amount',1).' | '; + print ''; + print ' |
| '; + print ' | |
| '; + print fieldLabel('Account','selectaccountid',1).' | '; $form->select_comptes($_POST["accountid"],"accountid",0,'',1); // Affiche liste des comptes courant print ' |
| '; + print ' | |
| '; + print fieldLabel('PaymentMode','selectpaymenttype',1).' | '; $form->select_types_paiements(GETPOST("paymenttype"), "paymenttype"); - print " | \n"; - print "
| '.$langs->trans("Person").' | '; + // Employee + print ' |
| '.$langs->trans("Employee").' | '; $usersal=new User($db); $usersal->fetch($object->fk_user); print $usersal->getNomUrl(1); |