Hello community ,
I'm trying to extend this class to add some functions exports.Order = Backbone.Model.extend({ it is difrrent from the most of the classes how we can extend this type of classes ?
Hello community ,
I'm trying to extend this class to add some functions exports.Order = Backbone.Model.extend({ it is difrrent from the most of the classes how we can extend this type of classes ?
I've found a solution for people who need this:
var models = require('point_of_sale.models');
models.Order = models.Order.extend({
// your code here
})
Skapa ett konto idag för att ta del av exklusiva funktioner och engagera dig i vår fantastiska community!
Registrera dig| Relaterade inlägg | Svar | Vyer | Verksamhet | |
|---|---|---|---|---|
|
0
nov. 23
|
38 | |||
|
1
maj 23
|
3994 | |||
|
0
feb. 16
|
7466 | |||
|
1
apr. 24
|
3987 | |||
|
1
feb. 22
|
7028 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.