Fix coding style
This commit is contained in:
parent
71833f5987
commit
70b73c73f7
@ -39,15 +39,11 @@ $bankaccountid=GETPOST('cashdeskbank');
|
|||||||
|
|
||||||
switch ($action)
|
switch ($action)
|
||||||
{
|
{
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
$redirection = DOL_URL_ROOT.'/cashdesk/affIndex.php?menutpl=validation';
|
||||||
$redirection = DOL_URL_ROOT.'/cashdesk/affIndex.php?menutpl=validation';
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
||||||
case 'valide_achat':
|
case 'valide_achat':
|
||||||
|
|
||||||
$thirdpartyid = $_SESSION['CASHDESK_ID_THIRDPARTY'];
|
$thirdpartyid = $_SESSION['CASHDESK_ID_THIRDPARTY'];
|
||||||
|
|
||||||
$company=new Societe($db);
|
$company=new Societe($db);
|
||||||
@ -115,13 +111,11 @@ switch ($action)
|
|||||||
|
|
||||||
|
|
||||||
case 'retour':
|
case 'retour':
|
||||||
|
|
||||||
$redirection = 'affIndex.php?menutpl=facturation';
|
$redirection = 'affIndex.php?menutpl=facturation';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
||||||
case 'valide_facture':
|
case 'valide_facture':
|
||||||
|
|
||||||
$now=dol_now();
|
$now=dol_now();
|
||||||
|
|
||||||
// Recuperation de la date et de l'heure
|
// Recuperation de la date et de l'heure
|
||||||
@ -363,3 +357,4 @@ switch ($action)
|
|||||||
$_SESSION['serObjFacturation'] = serialize($obj_facturation);
|
$_SESSION['serObjFacturation'] = serialize($obj_facturation);
|
||||||
|
|
||||||
header('Location: '.$redirection);
|
header('Location: '.$redirection);
|
||||||
|
exit;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user