Skip to content

Commit

Permalink
feat: Update templates options map with summary items headers
Browse files Browse the repository at this point in the history
  • Loading branch information
qtotuan committed Oct 16, 2018
1 parent f2c1c4d commit 8723cb2
Showing 1 changed file with 91 additions and 1 deletion.
92 changes: 91 additions & 1 deletion lib/v1/templates/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,97 @@ module.exports = {
}
}
},
currency: {
net_total: {
type: 'object',
additionalProperties: false,
properties: {
default: {
oneOf: [
{
type: 'string'
},
{
type: 'null'
}
]
},
custom: {
oneOf: [
{
type: 'string'
},
{
type: 'null'
}
]
},
show: {
type: 'boolean',
default: true
}
}
},
total: {
type: 'object',
additionalProperties: false,
properties: {
default: {
oneOf: [
{
type: 'string'
},
{
type: 'null'
}
]
},
custom: {
oneOf: [
{
type: 'string'
},
{
type: 'null'
}
]
},
show: {
type: 'boolean',
default: true
}
}
},
total_discount: {
type: 'object',
additionalProperties: false,
properties: {
default: {
oneOf: [
{
type: 'string'
},
{
type: 'null'
}
]
},
custom: {
oneOf: [
{
type: 'string'
},
{
type: 'null'
}
]
},
show: {
type: 'boolean',
default: true
}
}
},
VAT: {
type: 'object',
additionalProperties: false,
properties: {
Expand Down

0 comments on commit 8723cb2

Please sign in to comment.