Community mailing list archives

POS inovice_id value

Alejandro Perez Cosio
- 03/20/2015 10:20:29
Dear all,

I'm trying to get the referenced invoice object at: point_of_sale (module) > models.js (file) > export_for_printing (function) > invoice_id (attribute):

there is the line for invoice_id, but with null value and a //TODO label:
>> "invoice_id: null,   //TODO"

I was thinking in a function named getInvoiceId() to replace that null value with the invoice object, but I don't know how to implement it..

I really need this reference but my javascript and backbone abilities are not enough to do this..
That's why I would want to ask you for your help.

I will really appreciate any help you could provide.

Best regards