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);
diff --git a/htdocs/core/modules/modWebsite.class.php b/htdocs/core/modules/modWebsite.class.php
index 0e75daa26bd..7bb5a27a0c5 100644
--- a/htdocs/core/modules/modWebsite.class.php
+++ b/htdocs/core/modules/modWebsite.class.php
@@ -62,7 +62,7 @@ class modWebsite extends DolibarrModules
// Config pages
//-------------
- $this->config_page_url = array("website.php");
+ $this->config_page_url = array();
// Dependancies
//-------------
diff --git a/htdocs/societe/index.php b/htdocs/societe/index.php
index ebe4b4c0342..9556a95b826 100644
--- a/htdocs/societe/index.php
+++ b/htdocs/societe/index.php
@@ -60,7 +60,7 @@ print ' ';
// Search thirdparty
if (! empty($conf->societe->enabled) && $user->rights->societe->lire)
{
- $listofsearchfields['search_thirdparty']=array('text'=>'Thirdparty');
+ $listofsearchfields['search_thirdparty']=array('text'=>'ThirdParty');
}
// Search contact/address
if (! empty($conf->societe->enabled) && $user->rights->societe->lire)
|