Fixed a SQL error when listing lines of an invoice
Column 'localtax1_tx' in field list is ambiguous
This commit is contained in:
parent
10d5feb932
commit
44fd4e7eb8
@ -2996,7 +2996,7 @@ class Facture extends CommonInvoice
|
||||
function getLinesArray()
|
||||
{
|
||||
$sql = 'SELECT l.rowid, l.description, l.fk_product, l.product_type, l.qty, l.tva_tx,';
|
||||
$sql.= ' l.fk_remise_except, localtax1_tx, localtax2_tx,';
|
||||
$sql.= ' l.fk_remise_except, l.localtax1_tx, l.localtax2_tx,';
|
||||
$sql.= ' l.remise_percent, l.subprice, l.info_bits, l.rang, l.special_code, l.fk_parent_line,';
|
||||
$sql.= ' l.total_ht, l.total_tva, l.total_ttc, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht,';
|
||||
$sql.= ' l.date_start, l.date_end,';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user