diff --git a/htdocs/compta/bank/fiche.php b/htdocs/compta/bank/fiche.php index 958b1618af8..0a4932e860e 100644 --- a/htdocs/compta/bank/fiche.php +++ b/htdocs/compta/bank/fiche.php @@ -38,6 +38,8 @@ if ($HTTP_POST_VARS["action"] == 'add') $account->bic = $HTTP_POST_VARS["bic"]; $account->iban_prefix = $HTTP_POST_VARS["iban_prefix"]; $account->domiciliation = $HTTP_POST_VARS["domiciliation"]; + $account->solde = $HTTP_POST_VARS["solde"]; + $account->date_solde = mktime(12,0,0,$HTTP_POST_VARS["remonth"],$HTTP_POST_VARS["reday"],$HTTP_POST_VARS["reyear"]); $id = $account->create($user->id); } @@ -73,8 +75,8 @@ if ($action == 'update') if ($action == 'create') { + print_titre("Nouveau compte bancaire"); - print '
Nouveau compte bancaire

'; print '

'; print ''; print ''; @@ -107,6 +109,16 @@ if ($action == 'create') print ""; + + print 'Solde'; + print ''; + + print 'Date Solde'; + print ''; $now=time(); + print '/'; + print '/'; + print ''; + print ''; print ''; print '
';