Added zone.isVolumetric #1227
This commit is contained in:
parent
b996ca004f
commit
aa37a9f66a
|
@ -30,6 +30,10 @@
|
|||
"bonus": {
|
||||
"type": "Number",
|
||||
"required": true
|
||||
},
|
||||
"isVolumetric": {
|
||||
"type": "Boolean",
|
||||
"required": true
|
||||
}
|
||||
},
|
||||
"relations": {
|
||||
|
|
|
@ -62,6 +62,9 @@
|
|||
display-controls="false">
|
||||
</vn-input-number>
|
||||
</vn-horizontal>
|
||||
<vn-horizontal>
|
||||
<vn-check field="$ctrl.zone.isVolumetric" label="Volumetric"></vn-check>
|
||||
</vn-horizontal>
|
||||
</vn-card>
|
||||
<vn-button-bar>
|
||||
<vn-submit label="Save"></vn-submit>
|
||||
|
|
|
@ -64,6 +64,9 @@
|
|||
display-controls="false">
|
||||
</vn-input-number>
|
||||
</vn-horizontal>
|
||||
<vn-horizontal>
|
||||
<vn-check field="$ctrl.zone.isVolumetric" label="Volumetric"></vn-check>
|
||||
</vn-horizontal>
|
||||
</vn-card>
|
||||
<vn-button-bar>
|
||||
<vn-submit label="Create"></vn-submit>
|
||||
|
|
|
@ -6,8 +6,8 @@ export default class Controller {
|
|||
this.$state = $state;
|
||||
this.zone = {
|
||||
travelingDays: 0,
|
||||
price: 0.50,
|
||||
bonus: 0.50,
|
||||
price: 0.20,
|
||||
bonus: 0.20,
|
||||
hour: new Date()
|
||||
};
|
||||
}
|
||||
|
|
|
@ -6,4 +6,5 @@ Locations: Localizaciones
|
|||
Delete zone: Eliminar zona
|
||||
Are you sure you want to delete this zone?: ¿Estás seguro de querer eliminar esta zona?
|
||||
Zones: Zonas
|
||||
New zone: Nueva zona
|
||||
New zone: Nueva zona
|
||||
Volumetric: Volumétrico
|
Loading…
Reference in New Issue