Skip to Content
Menu
This question has been flagged

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

Avatar
Discard
Related Posts Replies Views Activity
1
Jun 25
2252
1
Jul 25
1758
1
Jul 25
395
2
Jul 25
578
1
Jul 25
1645