Merge pull request #15835 from aspangaro/12p10
FIX: #15751 Miscellaneous payment type change to 0 after updating subledger account
This commit is contained in:
commit
c6c697cb43
@ -137,7 +137,7 @@ class PaymentVarious extends CommonObject
|
||||
$sql .= " datev='".$this->db->idate($this->datev)."',";
|
||||
$sql .= " sens=".(int) $this->sens.",";
|
||||
$sql .= " amount=".price2num($this->amount).",";
|
||||
$sql .= " fk_typepayment=".(int) $this->fk_typepayment.",";
|
||||
$sql .= " fk_typepayment=".(int) $this->type_payment.",";
|
||||
$sql .= " num_payment='".$this->db->escape($this->num_payment)."',";
|
||||
$sql .= " label='".$this->db->escape($this->label)."',";
|
||||
$sql .= " note='".$this->db->escape($this->note)."',";
|
||||
|
||||
@ -392,7 +392,7 @@ if ($action == 'create')
|
||||
// Subledger account
|
||||
if (!empty($conf->accounting->enabled))
|
||||
{
|
||||
print '<tr><td>'.$langs->trans("SubledgerAccount").'aaaa</td>';
|
||||
print '<tr><td>'.$langs->trans("SubledgerAccount").'</td>';
|
||||
print '<td>';
|
||||
if (!empty($conf->global->ACCOUNTANCY_COMBO_FOR_AUX))
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user