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..
That's why I would want to ask you for your help.
I will really appreciate any help you could provide.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 3/20/15, 10:31 AM|
|Seen: 616 times|
|Last updated: 3/24/15, 9:30 AM|