0
1
Fork 0

myInvoice.pdf renamed to hasPdf

This commit is contained in:
Juan Ferrer 2019-08-02 12:48:41 +02:00
parent 90161d1014
commit 5102571b5f
4 changed files with 5 additions and 5 deletions

2
debian/changelog vendored
View File

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

View File

@ -5,7 +5,7 @@ Hedera.Invoices = new Class({
donwloadRenderer: function(column, invoice) { donwloadRenderer: function(column, invoice) {
var invoiceId = invoice.get('id'); var invoiceId = invoice.get('id');
if (invoice.get('pdf') && invoiceId) { if (invoice.get('hasPdf') && invoiceId) {
var params = { var params = {
srv: 'rest:dms/invoice', srv: 'rest:dms/invoice',
invoice: invoiceId, invoice: invoiceId,

View File

@ -7,7 +7,7 @@
<div> <div>
<htk-grid show-header="false"> <htk-grid show-header="false">
<db-model property="model" id="tickets"> <db-model property="model" id="tickets">
SELECT id, ref, issued, amount, pdf SELECT id, ref, issued, amount, hasPdf
FROM myInvoice FROM myInvoice
ORDER BY issued DESC ORDER BY issued DESC
LIMIT 100 LIMIT 100

View File

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