Added zone.isVolumetric #1227
gitea/salix/dev There was a failure building this commit Details
gitea/salix/test This commit looks good Details

This commit is contained in:
Joan Sanchez 2019-03-13 11:27:45 +01:00
parent b996ca004f
commit aa37a9f66a
5 changed files with 14 additions and 3 deletions

View File

@ -30,6 +30,10 @@
"bonus": {
"type": "Number",
"required": true
},
"isVolumetric": {
"type": "Boolean",
"required": true
}
},
"relations": {

View File

@ -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>

View File

@ -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>

View File

@ -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()
};
}

View File

@ -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