Bug : #447 mode de paiement par journaux -
This commit is contained in:
parent
3f8eace4a7
commit
3ddd930e3f
3 changed files with 3 additions and 3 deletions
|
|
@ -1216,7 +1216,7 @@ class Acc_Ledger_Purchase extends Acc_Ledger
|
|||
$r.='<fieldset>';
|
||||
$r.='<legend> '._('Payé par').' </legend>';
|
||||
$mp=new Acc_Payment($this->db);
|
||||
$mp->set_parameter('type','ACH');
|
||||
$mp->set_parameter('ledger_source',$this->id);
|
||||
$r.=$mp->select();
|
||||
$r.='</fieldset>';
|
||||
return $r;
|
||||
|
|
|
|||
|
|
@ -1289,7 +1289,7 @@ class Acc_Ledger_Sold extends Acc_Ledger
|
|||
$r.='<fieldset>';
|
||||
$r.='<legend> '._('Payé par').' </legend>';
|
||||
$mp=new Acc_Payment($this->db);
|
||||
$mp->set_parameter('type','VEN');
|
||||
$mp->set_parameter('ledger_source',$this->id);
|
||||
$r.=$mp->select();
|
||||
$r.='</fieldset>';
|
||||
return $r;
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ if ( $sb=='change')
|
|||
echo HtmlInput::hidden('p_action','divers');
|
||||
echo HtmlInput::hidden('sa','mp');
|
||||
echo HtmlInput::hidden('sb','save');
|
||||
echo HtmlInput::hidden('mp_type',$row->get_parameter('type'));
|
||||
echo HtmlInput::hidden('jrn_def_id',$row->get_parameter('ledger_source'));
|
||||
echo HtmlInput::hidden('mp_lib',$row->get_parameter('lib'));
|
||||
|
||||
echo $row->form();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue