#787 secciones mas estrechas
This commit is contained in:
parent
080c6d5b01
commit
a3437637ec
|
@ -4,7 +4,7 @@
|
|||
filter="$ctrl.filter"
|
||||
data="$ctrl.salesClaimed">
|
||||
</vn-crud-model>
|
||||
<vn-vertical>
|
||||
<vn-vertical compact>
|
||||
<vn-card pad-large>
|
||||
<vn-vertical>
|
||||
<vn-horizontal>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
url="/claim/api/Claims/updateClaim"
|
||||
save="post">
|
||||
</vn-watcher>
|
||||
<form name="form" ng-submit="watcher.submit()">
|
||||
<form name="form" ng-submit="watcher.submit()" compact>
|
||||
<vn-card pad-large>
|
||||
<vn-title>Basic data</vn-title>
|
||||
<vn-horizontal>
|
||||
|
|
|
@ -30,9 +30,8 @@ class Controller {
|
|||
let json = encodeURIComponent(JSON.stringify(this.filter));
|
||||
let query = `/claim/api/Claims/${this.$state.params.id}?filter=${json}`;
|
||||
this.$http.get(query).then(res => {
|
||||
if (res.data) {
|
||||
if (res.data)
|
||||
this.claim = res.data;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
data="claimDevelopments"
|
||||
form="form">
|
||||
</vn-watcher>
|
||||
<vn-vertical>
|
||||
<vn-vertical compact>
|
||||
<vn-card pad-large>
|
||||
<vn-vertical>
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()">
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
</vn-searchbar>
|
||||
</vn-card>
|
||||
</div>
|
||||
<vn-card margin-medium-v pad-medium>
|
||||
<vn-card margin-medium-v pad-medium compact>
|
||||
<vn-table model="model">
|
||||
<vn-thead>
|
||||
<vn-tr>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<vn-vertical vn-one>
|
||||
<vn-card class="summary" pad-medium>
|
||||
<vn-card class="summary" pad-medium compact>
|
||||
<vn-vertical margin-medium>
|
||||
<vn-auto>
|
||||
<h5 text-center pad-small-v class="title">{{$ctrl.summary.claim.id}} - {{$ctrl.summary.claim.client.name}}</h5>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
save="post"
|
||||
form="form">
|
||||
</vn-watcher>
|
||||
<form name="form" ng-submit="watcher.submitGo('client.card.address.index')">
|
||||
<form name="form" ng-submit="watcher.submitGo('client.card.address.index')" compact>
|
||||
<vn-card pad-large>
|
||||
<vn-title>New address</vn-title>
|
||||
<vn-horizontal pad-small-v>
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
fields="['id', 'description']"
|
||||
data="types">
|
||||
</vn-crud-model>
|
||||
<form name="form" ng-submit="$ctrl.submit()">
|
||||
<form name="form" ng-submit="$ctrl.submit()" compact>
|
||||
<vn-card pad-large>
|
||||
<vn-title>Edit address</vn-title>
|
||||
<vn-horizontal pad-small-v>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
</vn-crud-model>
|
||||
|
||||
<vn-vertical>
|
||||
<vn-card pad-large>
|
||||
<vn-card pad-large compact>
|
||||
<vn-title vn-one>Addresses</vn-title>
|
||||
<vn-horizontal ng-repeat="address in addresses" class="pad-medium-top" style="align-items: center;">
|
||||
<vn-one border-radius class="pad-small border-solid"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
form="form"
|
||||
save="patch">
|
||||
</vn-watcher>
|
||||
<form name="form" ng-submit="watcher.submit()">
|
||||
<form name="form" ng-submit="watcher.submit()" compact>
|
||||
<vn-card pad-large>
|
||||
<vn-title>Basic data</vn-title>
|
||||
<vn-horizontal>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
form="form"
|
||||
save="patch">
|
||||
</vn-watcher>
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()">
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()" compact>
|
||||
<vn-card pad-large>
|
||||
<vn-title>Pay method</vn-title>
|
||||
<vn-horizontal>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
data="contacts"
|
||||
form="form">
|
||||
</vn-watcher>
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()">
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()" compact>
|
||||
<vn-card pad-large>
|
||||
<vn-title>Contacts</vn-title>
|
||||
<vn-horizontal ng-repeat="contact in contacts">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<form name="form" ng-submit="$ctrl.onSubmit()">
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()" compact>
|
||||
<vn-card pad-large>
|
||||
<vn-title>New contract</vn-title>
|
||||
<vn-horizontal>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<vn-vertical>
|
||||
<vn-card pad-large>
|
||||
<vn-card pad-large compact>
|
||||
<vn-title vn-one>Contract credit insurance</vn-title>
|
||||
<vn-horizontal ng-repeat="classification in $ctrl.classifications track by classification.id" class="pad-medium-top" style="align-items: center;">
|
||||
<vn-one border-radius class="pad-small border-solid" ng-class="{'bg-main': !classification.finished,'bg-opacity-item': classification.finished}">
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
form="form"
|
||||
save="post">
|
||||
</vn-watcher>
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()">
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()" compact>
|
||||
<vn-card pad-large>
|
||||
<vn-title>New credit</vn-title>
|
||||
<vn-horizontal>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
data="insurances" auto-load="false">
|
||||
</vn-crud-model>
|
||||
|
||||
<vn-vertical>
|
||||
<vn-vertical compact>
|
||||
<vn-card pad-large>
|
||||
<vn-vertical>
|
||||
<vn-title>Requested credits</vn-title>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
form="form"
|
||||
save="patch">
|
||||
</vn-watcher>
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()">
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()" compact>
|
||||
<vn-card pad-large>
|
||||
<vn-title>New credit</vn-title>
|
||||
<vn-horizontal>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
</vn-crud-model>
|
||||
|
||||
<vn-vertical>
|
||||
<vn-card pad-large>
|
||||
<vn-card pad-large compact>
|
||||
<vn-vertical>
|
||||
<vn-title>Credits</vn-title>
|
||||
<vn-table model="model">
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
form="form"
|
||||
save="patch">
|
||||
</vn-watcher>
|
||||
<form name="form" ng-submit="$ctrl.submit()">
|
||||
<form name="form" ng-submit="$ctrl.submit()" compact>
|
||||
<vn-card pad-large>
|
||||
<vn-title>Fiscal data</vn-title>
|
||||
<vn-horizontal>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
form="form"
|
||||
save="post">
|
||||
</vn-watcher>
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()">
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()" compact>
|
||||
<vn-card pad-large>
|
||||
<vn-title>New greuge</vn-title>
|
||||
<vn-horizontal>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
options="mgEdit">
|
||||
</mg-ajax>
|
||||
|
||||
<vn-vertical>
|
||||
<vn-vertical compact>
|
||||
<vn-card pad-large>
|
||||
<vn-horizontal>
|
||||
<vn-title vn-two>Greuge</vn-title>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
</vn-crud-model>
|
||||
|
||||
<vn-vertical>
|
||||
<vn-card pad-large>
|
||||
<vn-card pad-large compact>
|
||||
<vn-vertical>
|
||||
<vn-title>Mandates</vn-title>
|
||||
<vn-table model="model">
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
save="post"
|
||||
form="form">
|
||||
</vn-watcher>
|
||||
<form name="form" ng-submit="watcher.submitGo('client.card.note.index')">
|
||||
<form name="form" ng-submit="watcher.submitGo('client.card.note.index')" compact>
|
||||
<vn-card pad-large>
|
||||
<vn-title>New note</vn-title>
|
||||
<vn-horizontal>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
</vn-crud-model>
|
||||
|
||||
<vn-vertical>
|
||||
<vn-card pad-large>
|
||||
<vn-card pad-large compact>
|
||||
<vn-title>Notes</vn-title>
|
||||
<vn-vertical
|
||||
ng-repeat="note in notes"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
form="form"
|
||||
save="post">
|
||||
</vn-watcher>
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()">
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()" compact>
|
||||
<vn-card pad-large>
|
||||
<vn-title>New recovery</vn-title>
|
||||
<vn-horizontal>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
</vn-crud-model>
|
||||
|
||||
<vn-vertical>
|
||||
<vn-card pad-large>
|
||||
<vn-card pad-large compact>
|
||||
<vn-vertical>
|
||||
<vn-title>Recoveries</vn-title>
|
||||
<vn-table model="model">
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
form="form"
|
||||
save="post">
|
||||
</vn-watcher>
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()">
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()" compact>
|
||||
<vn-card pad-large>
|
||||
<vn-title>New payment</vn-title>
|
||||
<vn-horizontal>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
form="form"
|
||||
save="post">
|
||||
</vn-watcher>
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()">
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()" compact>
|
||||
<vn-card pad-large>
|
||||
<vn-title>Send sample</vn-title>
|
||||
<vn-horizontal>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
data="$ctrl.account"
|
||||
form="form">
|
||||
</vn-watcher>
|
||||
<form name="form" ng-submit="watcher.submit()">
|
||||
<form name="form" ng-submit="watcher.submit()" compact>
|
||||
<vn-card pad-large>
|
||||
<vn-title>Web access</vn-title>
|
||||
<vn-horizontal pad-small-v>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
</vn-crud-model>
|
||||
|
||||
<vn-vertical>
|
||||
<vn-card pad-large>
|
||||
<vn-card pad-large compact>
|
||||
<vn-vertical>
|
||||
<vn-title>Web Payment</vn-title>
|
||||
<vn-table model="model">
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
data="barcodes"
|
||||
form="form">
|
||||
</vn-watcher>
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()">
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()" compact>
|
||||
<vn-card pad-large>
|
||||
<vn-title>Barcodes</vn-title>
|
||||
<vn-horizontal ng-repeat="barcode in barcodes track by $index">
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
form="form"
|
||||
save="patch">
|
||||
</vn-watcher>
|
||||
<form name="form" ng-submit="watcher.submit()" ng-cloak>
|
||||
<form name="form" ng-submit="watcher.submit()" ng-cloak compact>
|
||||
<vn-card pad-large>
|
||||
<vn-title>Botanical</vn-title>
|
||||
<vn-horizontal>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
save="post">
|
||||
</vn-watcher>
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()" margin-medium>
|
||||
<div style="max-width: 50em; margin: 0 auto;">
|
||||
<div compact>
|
||||
<vn-card pad-large>
|
||||
<vn-title>New item</vn-title>
|
||||
<vn-horizontal>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
form="form"
|
||||
save="patch">
|
||||
</vn-watcher>
|
||||
<form name="form" ng-submit="watcher.submit()" ng-cloak>
|
||||
<form name="form" ng-submit="watcher.submit()" ng-cloak compact>
|
||||
<vn-card pad-large>
|
||||
<vn-title>Basic data</vn-title>
|
||||
<vn-horizontal>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
data="sales" auto-load="false">
|
||||
</vn-crud-model>
|
||||
<vn-vertical>
|
||||
<vn-card pad-large>
|
||||
<vn-card pad-large compact>
|
||||
<vn-vertical>
|
||||
<vn-title>Item diary</vn-title>
|
||||
<vn-horizontal>
|
||||
|
|
|
@ -4,10 +4,6 @@ vn-item-diary {
|
|||
& > vn-vertical {
|
||||
display: block;
|
||||
}
|
||||
vn-card {
|
||||
margin: auto;
|
||||
max-width: 880px;
|
||||
}
|
||||
& vn-horizontal {
|
||||
justify-content: center;
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
data="niches"
|
||||
form="form">
|
||||
</vn-watcher>
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()">
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()" compact>
|
||||
<vn-card pad-large>
|
||||
<vn-title>Niches</vn-title>
|
||||
<vn-horizontal ng-repeat="niche in niches track by $index">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<vn-card class="summary">
|
||||
<vn-card class="summary" compact>
|
||||
<vn-vertical pad-medium>
|
||||
<vn-horizontal>
|
||||
<vn-auto margin-medium>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
fields="['id','name','isFree', 'sourceTable']"
|
||||
data="tags">
|
||||
</vn-crud-model>
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()">
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()" compact>
|
||||
<vn-card pad-large>
|
||||
<vn-title>Tags</vn-title>
|
||||
<vn-horizontal ng-repeat="itemTag in itemTags">
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
fields="['id', 'description', 'code']"
|
||||
data="classes">
|
||||
</vn-crud-model>
|
||||
<form name="form" ng-submit="$ctrl.submit()">
|
||||
<form name="form" ng-submit="$ctrl.submit()" compact>
|
||||
<vn-card pad-large>
|
||||
<vn-title>Tax</vn-title>
|
||||
<vn-horizontal ng-repeat="tax in $ctrl.taxes track by $index">
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
form="form"
|
||||
save="patch">
|
||||
</vn-watcher>
|
||||
<form name="form" ng-submit="watcher.submit()">
|
||||
<form name="form" ng-submit="watcher.submit()" compact>
|
||||
<vn-card pad-large>
|
||||
<vn-title>Basic data</vn-title>
|
||||
<vn-horizontal>
|
||||
|
@ -50,6 +50,6 @@
|
|||
</vn-horizontal>
|
||||
</vn-card>
|
||||
<vn-button-bar>
|
||||
<vn-submit label="Save"></vn-submit>
|
||||
<vn-submit disabled="$ctrl.order.rows.length || $ctrl.order.isConfirmed" label="Save"></vn-submit>
|
||||
</vn-button-bar>
|
||||
</form>
|
||||
|
|
|
@ -138,6 +138,12 @@ a {
|
|||
}
|
||||
}
|
||||
|
||||
html [compact], .compact{
|
||||
width: 950px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
button {
|
||||
@extend %clickable;
|
||||
}
|
||||
|
|
|
@ -232,13 +232,13 @@
|
|||
{"state": "ticket.card.volume", "icon": "icon-volume"},
|
||||
{"state": "ticket.card.expedition", "icon": "icon-package"},
|
||||
{"state": "ticket.card.package.index", "icon": "icon-bucket"},
|
||||
{"state": "ticket.card.service"},
|
||||
{"state": "ticket.card.service", "icon": "icon-services"},
|
||||
{"state": "ticket.card.tracking.index", "icon": "remove_red_eye"},
|
||||
{"state": "ticket.card.saleChecked", "icon": "assignment"},
|
||||
{"state": "ticket.card.components", "icon": "icon-components"},
|
||||
{"state": "ticket.card.saleTracking", "icon": "assignment"},
|
||||
{"state": "ticket.card.picture", "icon": "image"},
|
||||
{"state": "ticket.card.log", "icon": "history"},
|
||||
{"state": "ticket.card.request.index"}
|
||||
{"state": "ticket.card.request.index", "icon": "icon-100"}
|
||||
]
|
||||
}
|
|
@ -14,7 +14,7 @@
|
|||
data="observations"
|
||||
form="form">
|
||||
</vn-watcher>
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()">
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()" compact>
|
||||
<vn-card pad-large>
|
||||
<vn-one margin-medium-top>
|
||||
<vn-title>Notes</vn-title>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
data="packages"
|
||||
form="form">
|
||||
</vn-watcher>
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()">
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()" compact>
|
||||
<vn-card pad-large>
|
||||
<vn-title>Packages</vn-title>
|
||||
<vn-one>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
save="post">
|
||||
</vn-watcher>
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()" margin-medium>
|
||||
<div style="max-width: 50em; margin: 0 auto;">
|
||||
<div compact>
|
||||
<vn-card pad-large>
|
||||
<vn-title>New request</vn-title>
|
||||
<vn-horizontal>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
data="services"
|
||||
form="form">
|
||||
</vn-watcher>
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()">
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()" compact>
|
||||
<vn-card pad-large>
|
||||
<vn-title>Service</vn-title>
|
||||
<vn-one>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
form="form"
|
||||
save="post">
|
||||
</vn-watcher>
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()">
|
||||
<form name="form" ng-submit="$ctrl.onSubmit()" compact>
|
||||
<vn-card pad-large>
|
||||
<vn-title>New state</vn-title>
|
||||
<vn-horizontal>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
</vn-crud-model>
|
||||
|
||||
<vn-vertical>
|
||||
<vn-card pad-large>
|
||||
<vn-card pad-large compact>
|
||||
<vn-vertical>
|
||||
<vn-title>Tracking</vn-title>
|
||||
<vn-table model="model">
|
||||
|
|
Loading…
Reference in New Issue