vnCard con nuevo formato
This commit is contained in:
parent
c386b6aaea
commit
a16f8b29c2
|
@ -1,5 +1,4 @@
|
||||||
import ngModule from '../module';
|
import ngModule from '../module';
|
||||||
import './style.css';
|
|
||||||
|
|
||||||
export default class Controller {
|
export default class Controller {
|
||||||
constructor() {
|
constructor() {
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
vn-descriptor {
|
|
||||||
font-family: vn-font-bold;
|
|
||||||
}
|
|
|
@ -1,14 +1,19 @@
|
||||||
<vn-card>
|
<vn-card>
|
||||||
<vn-vertical class="margin-medium" pad-medium-top pad-medium-bottom>
|
<vn-vertical class="margin-large" pad-medium-top pad-medium-bottom>
|
||||||
<vn-horizontal>
|
<vn-horizontal>
|
||||||
<a vn-one ui-sref="clients">
|
<a vn-one ui-sref="clients">
|
||||||
<i class="material-icons descriptor-icon">person</i>
|
<i class="material-icons descriptor-icon" >person</i>
|
||||||
</a>
|
</a>
|
||||||
<vn-vertical vn-two>
|
</vn-horizontal>
|
||||||
<div class="margin-none">{{::$ctrl.client.id}}</div>
|
<!-- style="align:center;" -->
|
||||||
<div class="margin-none">{{$ctrl.client.name}}</div>
|
<vn-one class="vn-item-client-name" >{{$ctrl.client.name}}</vn-one>
|
||||||
<div class="margin-none">{{$ctrl.client.phone}}</div>
|
<vn-one><span >Client id</span>: <b>{{$ctrl.client.id}}</b></vn-one>
|
||||||
</vn-vertical>
|
<vn-one><span>Mobile</span>: <b>{{$ctrl.client.mobile | phone}}</b></vn-one>
|
||||||
</vn-horizontal>
|
<vn-one title="{{$ctrl.client.salesPerson.name}}" style="width: 200px;
|
||||||
</vn-vertical>
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
"><span >Salesperson</span>: <b>cesteban</b></vn-one>
|
||||||
|
<vn-one><span >Credit</span>: <b>{{($ctrl.client.credit | number:0) + " €"}}</b></vn-one>
|
||||||
|
</vn-vertical>
|
||||||
</vn-card>
|
</vn-card>
|
||||||
|
|
|
@ -12,5 +12,6 @@
|
||||||
"Province": "Provincia",
|
"Province": "Provincia",
|
||||||
"Save": "Guardar",
|
"Save": "Guardar",
|
||||||
"Pay method" : "Forma de pago",
|
"Pay method" : "Forma de pago",
|
||||||
"Address": "Consignatario"
|
"Address": "Consignatario",
|
||||||
|
"Credit": "Crédito"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue