Skip to content

Commit

Permalink
Fix get bad default value for accounting for sales export
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Nov 11, 2019
1 parent 6233f8e commit 5ae5b87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/accountancy/admin/productaccount.php
Expand Up @@ -238,7 +238,7 @@
}
else
{
$sql.=" p.accountancy_code_sell_intra = aa.account_number AND aa.fk_pcg_version = '" . $pcgvercode . "'";
$sql.=" p.accountancy_code_sell_export = aa.account_number AND aa.fk_pcg_version = '" . $pcgvercode . "'";
}
$sql.= ' WHERE p.entity IN ('.getEntity('product').')';
if ($accounting_product_mode == 'ACCOUNTANCY_BUY') {
Expand Down

0 comments on commit 5ae5b87

Please sign in to comment.