Enregistrement
'; echo $Ledger->confirm($_POST,true); /* Show link for Invoice */ if (isset ($Ledger->doc) ) { echo ''._('Document').'
'; echo $Ledger->doc; } /* Save the additional information into jrn_info */ $obj=new Acc_Ledger_Info($cn); $obj->save_extra($Ledger->jr_id,$_POST); /* save followup */ $Ledger->save_followup($http->request("action_gestion","string","")); // extourne if (isset($_POST['reverse_ck'])) { $p_date=$http->post('reverse_date', "string",''); $p_msg=$http->post("ext_label"); if (isDate($p_date)==$p_date) { // reverse the operation try { $Ledger->reverse($p_date,$p_msg); echo ''; echo _('Extourné au ').$p_date; echo '
'; } catch (Exception $e) { echo ''._('Opération non extournée'). $e->getMessage(). ''; } } else { // warning because date is invalid echo ''._('Date invalide, opération non extournée').''; } } echo '- ';
echo "
- "; echo $Ledger->button_new_operation(); echo " "; echo "
- "; echo $Ledger->button_copy_operation(); echo " "; echo "