Merged revisions 4810,4813-4821 via svnmerge from
svn+ssh://ns352270.ovh.net/svn/phpcompta/tags/rel601 ........ r4810 | danydb | 2012-04-24 20:55:23 +0200 (Tue, 24 Apr 2012) | 3 lines Removed merge tracking for "svnmerge" for svn+ssh://danydb@ns352270.ovh.net/svn/phpcompta/tags/rel600 ........ r4813 | danydb | 2012-04-24 20:58:20 +0200 (Tue, 24 Apr 2012) | 1 line change SQL ........ r4814 | danydb | 2012-04-24 21:33:02 +0200 (Tue, 24 Apr 2012) | 2 lines Fix bug predefined operation for misc ledger ........ r4815 | danydb | 2012-04-24 21:33:27 +0200 (Tue, 24 Apr 2012) | 3 lines Fix bug predefined operation for misc ledger Fix bug for check_balance (null value) ........ r4816 | danydb | 2012-04-24 21:51:04 +0200 (Tue, 24 Apr 2012) | 1 line fix bug : rounded value ........ r4817 | danydb | 2012-05-01 16:49:39 +0200 (Tue, 01 May 2012) | 2 lines #569 réécriture des menus fournisseur, client et adm ........ r4818 | danydb | 2012-05-01 16:51:35 +0200 (Tue, 01 May 2012) | 2 lines #568: Impossible d'ajouter une fiche BANQUE dans ADM ........ r4819 | danydb | 2012-05-01 16:53:12 +0200 (Tue, 01 May 2012) | 2 lines #570: Ajout d'un menu contact ........ r4820 | danydb | 2012-05-01 16:53:46 +0200 (Tue, 01 May 2012) | 1 line cosmetic : message d'erreur quand on veut ajouter une fiche dans catégorie non existante ........ r4821 | danydb | 2012-05-01 18:38:34 +0200 (Tue, 01 May 2012) | 1 line code : dead code ........
This commit is contained in:
parent
27a50547ad
commit
2e4dc23d33
28 changed files with 414 additions and 1168 deletions
|
|
@ -25,11 +25,7 @@ require_once("class_iselect.php");
|
|||
require_once("class_ihidden.php");
|
||||
require_once("class_customer.php");
|
||||
require_once("class_ibutton.php");
|
||||
require_once('class_iaction.php');
|
||||
require_once('class_fiche_def.php');
|
||||
require_once('class_iaction.php');
|
||||
require_once('class_fiche_def.php');
|
||||
require_once('class_ipopup.php');
|
||||
|
||||
|
||||
|
||||
|
|
@ -137,30 +133,9 @@ if ($low_action == "list")
|
|||
if ( $low_action == 'detail')
|
||||
{
|
||||
/* Menu */
|
||||
require_once('client_card.inc.php');
|
||||
require_once('category_card.inc.php');
|
||||
exit();
|
||||
}
|
||||
if ($low_action == "insert")
|
||||
{
|
||||
/* security : check if user can add card */
|
||||
if ($g_user->check_action(FICADD) == 0)
|
||||
{
|
||||
alert('Vous ne pouvez pas ajouter de fiche');
|
||||
return;
|
||||
}
|
||||
|
||||
$customer = new Customer($cn);
|
||||
$customer->Save($_REQUEST['fd_id']);
|
||||
echo '<div class="content">';
|
||||
echo "<table>";
|
||||
echo $customer->Display(true);
|
||||
echo "</table>";
|
||||
$retour = new IAction();
|
||||
$retour->label = "Retour";
|
||||
$retour->value = "?ac=" . $_REQUEST["ac"] . "&" . dossier::get();
|
||||
echo $retour->input();
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
html_page_stop();
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue