Comment dead code

This commit is contained in:
Laurent Destailleur 2018-09-16 10:39:30 +02:00
parent 10c6bc44ca
commit f7c2bd877a

View File

@ -74,7 +74,8 @@ if ($action == 'confirm_delete' && $confirm == 'yes' && $user->rights->tax->char
} }
} }
// Create payment // Validate social contribution
/*
if ($action == 'confirm_valide' && $confirm == 'yes' && $user->rights->tax->charges->creer) if ($action == 'confirm_valide' && $confirm == 'yes' && $user->rights->tax->charges->creer)
{ {
$db->begin(); $db->begin();
@ -111,6 +112,7 @@ if ($action == 'confirm_valide' && $confirm == 'yes' && $user->rights->tax->char
$db->rollback(); $db->rollback();
} }
} }
*/
/* /*
@ -150,12 +152,14 @@ if ($action == 'delete')
/* /*
* Validation confirmation of payment * Validation confirmation of payment
*/ */
/*
if ($action == 'valide') if ($action == 'valide')
{ {
$facid = $_GET['facid']; $facid = $_GET['facid'];
print $form->formconfirm('card.php?id='.$object->id.'&facid='.$facid, $langs->trans("ValidatePayment"), $langs->trans("ConfirmValidatePayment"), 'confirm_valide','',0,2); print $form->formconfirm('card.php?id='.$object->id.'&facid='.$facid, $langs->trans("ValidatePayment"), $langs->trans("ConfirmValidatePayment"), 'confirm_valide','',0,2);
} }
*/
$linkback = '<a href="' . DOL_URL_ROOT . '/compta/sociales/payments.php">' . $langs->trans("BackToList") . '</a>'; $linkback = '<a href="' . DOL_URL_ROOT . '/compta/sociales/payments.php">' . $langs->trans("BackToList") . '</a>';