Client debt displayed correctly

This commit is contained in:
Juan Ferrer Toribio 2018-01-05 09:50:06 +01:00
parent 3fcebe26bf
commit f65b53b567
4 changed files with 4 additions and 4 deletions

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
hedera-web (1.405.62) stable; urgency=low
hedera-web (1.405.63) stable; urgency=low
* Initial Release.

View File

@ -7,7 +7,7 @@
SELECT o.id, o.date_send, o.note, o.company_id,
ag.description agency, v.code method,
ad.consignee, ad.zip_code, ad.city, ad.name address,
t.*, c.credit, clientGetDebt(NULL) debt
t.*, c.credit, myClientGetDebt(NULL) debt
FROM basket o
JOIN vn2008.Agencias ag ON ag.Id_Agencia = o.agency_id
LEFT JOIN address_view ad ON ad.id = o.address_id

View File

@ -26,7 +26,7 @@
<db-form property="form">
<db-model property="model">
<custom>
SELECT clientGetDebt(NULL) debt
SELECT -myClientGetDebt(NULL) debt
</custom>
</db-model>
</db-form>

View File

@ -1,6 +1,6 @@
{
"name": "hedera-web",
"version": "1.405.62",
"version": "1.405.63",
"description": "Verdnatura web page",
"license": "GPL-3.0",
"repository": {