myInvoice.pdf renamed to hasPdf
This commit is contained in:
parent
90161d1014
commit
5102571b5f
|
@ -1,4 +1,4 @@
|
|||
hedera-web (1.406.59) stable; urgency=low
|
||||
hedera-web (1.406.60) stable; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ Hedera.Invoices = new Class({
|
|||
donwloadRenderer: function(column, invoice) {
|
||||
var invoiceId = invoice.get('id');
|
||||
|
||||
if (invoice.get('pdf') && invoiceId) {
|
||||
if (invoice.get('hasPdf') && invoiceId) {
|
||||
var params = {
|
||||
srv: 'rest:dms/invoice',
|
||||
invoice: invoiceId,
|
||||
|
@ -16,7 +16,7 @@ Hedera.Invoices = new Class({
|
|||
tip: _('Download PDF'),
|
||||
disabled: false,
|
||||
icon: 'download',
|
||||
href: '?'+ Vn.Url.makeUri (params)
|
||||
href: '?'+ Vn.Url.makeUri(params)
|
||||
});
|
||||
} else
|
||||
Object.assign(column, {
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<div>
|
||||
<htk-grid show-header="false">
|
||||
<db-model property="model" id="tickets">
|
||||
SELECT id, ref, issued, amount, pdf
|
||||
SELECT id, ref, issued, amount, hasPdf
|
||||
FROM myInvoice
|
||||
ORDER BY issued DESC
|
||||
LIMIT 100
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hedera-web",
|
||||
"version": "1.406.59",
|
||||
"version": "1.406.60",
|
||||
"description": "Verdnatura web page",
|
||||
"license": "GPL-3.0",
|
||||
"repository": {
|
||||
|
|
Loading…
Reference in New Issue