2650 add links to edit on summaries

This commit is contained in:
Jorge Padawan 2021-01-08 15:43:33 +01:00
parent ef4f7d7ca9
commit 5a30bf5fa4
9 changed files with 120 additions and 73 deletions

View File

@ -10,7 +10,11 @@
</h5> </h5>
<vn-horizontal class="vn-pa-md"> <vn-horizontal class="vn-pa-md">
<vn-one> <vn-one>
<h4 translate>Basic data</h4> <h4>
<a ui-sref="account.card.basicData">
<span translate vn-tooltip="Edit basic data">Basic Data</span>
</a>
</h4>
<vn-label-value <vn-label-value
label="Id" label="Id"
value="{{summary.id}}"> value="{{summary.id}}">

View File

@ -12,15 +12,10 @@
</h5> </h5>
<vn-horizontal> <vn-horizontal>
<vn-one> <vn-one>
<h4 translate > <h4>
<!-- <span>Basic data</span> --> <a ui-sref="client.card.basicData">
<append> <span translate vn-tooltip="Edit basic data">Basic data</span>
<vn-icon-button </a>
icon="open_in_new"
vn-tooltip="Edit basic data"
ui-sref="client.card.basicData">
</vn-icon-button>
</append>
</h4> </h4>
<vn-label-value label="Id" <vn-label-value label="Id"
value="{{$ctrl.summary.id}}"> value="{{$ctrl.summary.id}}">
@ -52,15 +47,10 @@
</vn-label-value> </vn-label-value>
</vn-one> </vn-one>
<vn-one> <vn-one>
<h4 translate> <h4>
<!-- <span>Fiscal address</span> --> <a ui-sref="client.card.fiscalData">
<append> <span translate vn-tooltip="Edit address data">Fiscal address</span>
<vn-icon-button </a>
icon="open_in_new"
vn-tooltip="Edit fiscal address"
ui-sref="client.card.fiscalData">
</vn-icon-button>
</append>
</h4> </h4>
<vn-label-value label="Social name" <vn-label-value label="Social name"
value="{{$ctrl.summary.socialName}}"> value="{{$ctrl.summary.socialName}}">
@ -85,15 +75,10 @@
</vn-label-value> </vn-label-value>
</vn-one> </vn-one>
<vn-one> <vn-one>
<h4 translate> <h4>
<!-- <span>Fiscal data</span> --> <a ui-sref="client.card.fiscalData">
<append> <span translate vn-tooltip="Edit fiscal data">Fiscal data</span>
<vn-icon-button </a>
icon="open_in_new"
vn-tooltip="Edit fiscal data"
ui-sref="client.card.fiscalData">
</vn-icon-button>
</append>
</h4> </h4>
<vn-vertical> <vn-vertical>
<vn-check <vn-check
@ -134,15 +119,10 @@
</vn-vertical> </vn-vertical>
</vn-one> </vn-one>
<vn-one> <vn-one>
<h4 translate> <h4>
<!-- <span>Billing data</span> --> <a ui-sref="client.card.billingData">
<append> <span translate vn-tooltip="Edit billing data">Billing data</span>
<vn-icon-button </a>
icon="open_in_new"
vn-tooltip="Edit Billing data"
ui-sref="client.card.billingData">
</vn-icon-button>
</append>
</h4> </h4>
<vn-label-value label="Pay method" <vn-label-value label="Pay method"
value="{{$ctrl.summary.payMethod.name}}"> value="{{$ctrl.summary.payMethod.name}}">
@ -172,15 +152,10 @@
</vn-vertical> </vn-vertical>
</vn-one> </vn-one>
<vn-one> <vn-one>
<h4 translate> <h4>
<!-- <span>Default address</span> --> <a ui-sref="client.card.address.index">
<append> <span translate vn-tooltip="Edit default address">Address</span>
<vn-icon-button </a>
icon="open_in_new"
vn-tooltip="Edit Default address"
ui-sref="client.card.address.index">
</vn-icon-button>
</append>
</h4> </h4>
<vn-label-value label="Name" <vn-label-value label="Name"
value="{{$ctrl.summary.defaultAddress.nickname}}"> value="{{$ctrl.summary.defaultAddress.nickname}}">
@ -193,15 +168,10 @@
</vn-label-value> </vn-label-value>
</vn-one> </vn-one>
<vn-one> <vn-one>
<h4 translate> <h4>
<!-- <span>Web access</span> --> <a ui-sref="client.card.webAccess">
<append> <span translate vn-tooltip="Edit web access">Web access</span>
<vn-icon-button </a>
icon="open_in_new"
vn-tooltip="Edit Web access"
ui-sref="client.card.webAccess">
</vn-icon-button>
</append>
</h4> </h4>
<vn-label-value label="User" <vn-label-value label="User"
value="{{$ctrl.summary.account.name}}"> value="{{$ctrl.summary.account.name}}">

View File

@ -7,6 +7,7 @@ Secured credit: Crédito asegurado
Average invoiced: Consumo medio Average invoiced: Consumo medio
Sales person: Comercial Sales person: Comercial
Recovery: Recobro Recovery: Recobro
Basic data: Datos básicos
Balance due: Saldo vencido Balance due: Saldo vencido
Rate: Tarifa Rate: Tarifa
Business data: Datos comerciales Business data: Datos comerciales

View File

@ -25,7 +25,11 @@
</vn-horizontal> </vn-horizontal>
</vn-one> </vn-one>
<vn-one name="basicData"> <vn-one name="basicData">
<h4 translate>Basic data</h4> <h4>
<a ui-sref="item.card.basicData">
<span translate vn-tooltip="Edit basic data">Basic data</span>
</a>
</h4>
<vn-label-value label="Name" <vn-label-value label="Name"
value="{{$ctrl.summary.item.name}}"> value="{{$ctrl.summary.item.name}}">
</vn-label-value> </vn-label-value>
@ -53,7 +57,11 @@
</vn-label-value> </vn-label-value>
</vn-one> </vn-one>
<vn-one name="otherData"> <vn-one name="otherData">
<h4 translate>Other data</h4> <h4>
<a ui-sref="item.card.basicData">
<span translate vn-tooltip="Edit other data">Other data</span>
</a>
</h4>
<vn-label-value label="Intrastat code" <vn-label-value label="Intrastat code"
value="{{$ctrl.summary.item.intrastat.id}}"> value="{{$ctrl.summary.item.intrastat.id}}">
</vn-label-value> </vn-label-value>
@ -77,7 +85,11 @@
</vn-label-value> </vn-label-value>
</vn-one> </vn-one>
<vn-one name="tags"> <vn-one name="tags">
<h4 translate>Tags</h4> <h4>
<a ui-sref="item.card.tags">
<span translate vn-tooltip="Edit tags">Tags</span>
</a>
</h4>
<vn-label-value <vn-label-value
label="{{tag.priority}} {{tag.tag.name}}" label="{{tag.priority}} {{tag.tag.name}}"
ng-repeat="tag in $ctrl.summary.tags track by tag.id" ng-repeat="tag in $ctrl.summary.tags track by tag.id"
@ -85,21 +97,33 @@
</vn-label-value> </vn-label-value>
</vn-one> </vn-one>
<vn-one name="tax"> <vn-one name="tax">
<h4 translate>Tax</h4> <h4>
<a ui-sref="item.card.tax">
<span translate vn-tooltip="Edit tax">Tax</span>
</a>
</h4>
<vn-label-value label="{{tax.country.country}}" <vn-label-value label="{{tax.country.country}}"
ng-repeat="tax in $ctrl.summary.item.taxes" ng-repeat="tax in $ctrl.summary.item.taxes"
value="{{tax.taxClass.description}}"> value="{{tax.taxClass.description}}">
</vn-label-value> </vn-label-value>
</vn-one> </vn-one>
<vn-one name="niche"> <vn-one name="niche">
<h4 translate>Niche</h4> <h4>
<a ui-sref="item.card.niche">
<span translate vn-tooltip="Edit niche">Niche</span>
</a>
</h4>
<vn-label-value label="{{niche.warehouse.name}}" <vn-label-value label="{{niche.warehouse.name}}"
ng-repeat="niche in $ctrl.summary.niches" ng-repeat="niche in $ctrl.summary.niches"
value="{{niche.code}}"> value="{{niche.code}}">
</vn-label-value> </vn-label-value>
</vn-one> </vn-one>
<vn-one name="botanical"> <vn-one name="botanical">
<h4 translate>Botanical</h4> <h4>
<a ui-sref="item.card.botanical">
<span translate vn-tooltip="Edit botanical">Botanical</span>
</a>
</h4>
<vn-label-value label="Botanical" <vn-label-value label="Botanical"
value="{{$ctrl.summary.botanical.botanical}}"> value="{{$ctrl.summary.botanical.botanical}}">
</vn-label-value> </vn-label-value>
@ -111,7 +135,11 @@
</vn-label-value> </vn-label-value>
</vn-one> </vn-one>
<vn-one name="barcode"> <vn-one name="barcode">
<h4 translate>Barcode</h4> <h4>
<a ui-sref="item.card.itemBarcode">
<span translate vn-tooltip="Edit barcode">Barcode</span>
</a>
</h4>
<p ng-repeat="barcode in $ctrl.summary.item.itemBarcode track by $index"> <p ng-repeat="barcode in $ctrl.summary.item.itemBarcode track by $index">
<b>{{barcode.code}}</b> <b>{{barcode.code}}</b>
</p> </p>

View File

@ -61,7 +61,11 @@
</vn-textarea> </vn-textarea>
</vn-one> </vn-one>
<vn-auto> <vn-auto>
<h4 translate>Ticket</h4> <h4>
<a ui-sref="route.card.tickets">
<span translate vn-tooltip="Edit ticket">Ticket</span>
</a>
</h4>
<vn-table model="model"> <vn-table model="model">
<vn-thead> <vn-thead>
<vn-tr> <vn-tr>

View File

@ -10,7 +10,11 @@
</h5> </h5>
<vn-horizontal> <vn-horizontal>
<vn-one> <vn-one>
<h4 translate>Basic data</h4> <h4>
<a ui-sref="supplier.card.basicData">
<span translate vn-tooltip="Edit basic data">Basic data</span>
</a>
</h4>
<vn-vertical> <vn-vertical>
<vn-label-value <vn-label-value
label="Id" label="Id"
@ -37,7 +41,11 @@
</vn-vertical> </vn-vertical>
</vn-one> </vn-one>
<vn-one> <vn-one>
<h4 translate>Billing data</h4> <h4>
<a ui-sref="supplier.card.billingData">
<span translate vn-tooltip="Edit billing data">Billing data</span>
</a>
</h4>
<vn-label-value <vn-label-value
label="Pay method" label="Pay method"
value="{{::$ctrl.summary.payMethod.name}}"> value="{{::$ctrl.summary.payMethod.name}}">
@ -63,7 +71,11 @@
</vn-horizontal> </vn-horizontal>
<vn-horizontal> <vn-horizontal>
<vn-one> <vn-one>
<h4 translate>Fiscal data</h4> <h4>
<a ui-sref="supplier.card.fiscalData">
<span translate vn-tooltip="Edit fiscal data">Fiscal data</span>
</a>
</h4>
<vn-label-value <vn-label-value
label="Sage tax type" label="Sage tax type"
value="{{::$ctrl.summary.sageTaxType.vat}}"> value="{{::$ctrl.summary.sageTaxType.vat}}">
@ -82,7 +94,11 @@
</vn-horizontal> </vn-horizontal>
<vn-horizontal> <vn-horizontal>
<vn-one> <vn-one>
<h4 translate>Fiscal address</h4> <h4>
<a ui-sref="supplier.card.fiscalData">
<span translate vn-tooltip="Edit fiscal address">Fiscal address</span>
</a>
</h4>
<vn-label-value <vn-label-value
label="Social name" label="Social name"
value="{{::$ctrl.summary.name}}"> value="{{::$ctrl.summary.name}}">

View File

@ -103,7 +103,11 @@
<p><vn-label><strong>Total</strong></vn-label> <strong>{{$ctrl.summary.total | currency: 'EUR':2}}</strong></p> <p><vn-label><strong>Total</strong></vn-label> <strong>{{$ctrl.summary.total | currency: 'EUR':2}}</strong></p>
</vn-one> </vn-one>
<vn-auto name="sales"> <vn-auto name="sales">
<h4 translate>Sale</h4> <h4>
<a ui-sref="ticket.card.sale">
<span translate vn-tooltip="Edit sale">Sale</span>
</a>
</h4>
<vn-table> <vn-table>
<vn-thead> <vn-thead>
<vn-tr> <vn-tr>
@ -158,7 +162,11 @@
</vn-table> </vn-table>
</vn-auto> </vn-auto>
<vn-one ng-if="$ctrl.summary.packagings.length != 0"> <vn-one ng-if="$ctrl.summary.packagings.length != 0">
<h4 translate>Packages</h4> <h4>
<a ui-sref="ticket.card.package">
<span translate vn-tooltip="Edit packages">Packages</span>
</a>
</h4>
<vn-table model="model"> <vn-table model="model">
<vn-thead> <vn-thead>
<vn-tr> <vn-tr>
@ -177,7 +185,11 @@
</vn-table> </vn-table>
</vn-one> </vn-one>
<vn-one class="services" ng-if="$ctrl.summary.services.length != 0"> <vn-one class="services" ng-if="$ctrl.summary.services.length != 0">
<h4 translate>Service</h4> <h4>
<a ui-sref="ticket.card.service">
<span translate vn-tooltip="Edit service">Service</span>
</a>
</h4>
<vn-table model="model"> <vn-table model="model">
<vn-thead> <vn-thead>
<vn-tr> <vn-tr>
@ -202,7 +214,11 @@
</vn-horizontal> </vn-horizontal>
<vn-horizontal> <vn-horizontal>
<vn-auto ng-if="$ctrl.summary.requests.length != 0"> <vn-auto ng-if="$ctrl.summary.requests.length != 0">
<h4 translate>Purchase request</h4> <h4>
<a ui-sref="ticket.card.request.index">
<span translate vn-tooltip="Edit purchase request">Purchase request</span>
</a>
</h4>
<vn-table model="model"> <vn-table model="model">
<vn-thead> <vn-thead>
<vn-tr> <vn-tr>

View File

@ -10,7 +10,11 @@
</h5> </h5>
<vn-horizontal class="vn-pa-md"> <vn-horizontal class="vn-pa-md">
<vn-one> <vn-one>
<h4 translate>Basic data</h4> <h4>
<a ui-sref="worker.card.basicData">
<span translate vn-tooltip="Edit basic data">Basic data</span>
</a>
</h4>
<vn-label-value label="Id" <vn-label-value label="Id"
value="{{worker.id}}"> value="{{worker.id}}">
</vn-label-value> </vn-label-value>

View File

@ -36,7 +36,11 @@
</vn-horizontal> </vn-horizontal>
<vn-horizontal class="vn-pa-md"> <vn-horizontal class="vn-pa-md">
<vn-auto> <vn-auto>
<h4 translate>Warehouses</h4> <h4>
<a ui-sref="zone.card.warehouses">
<span translate vn-tooltip="Edit warehouse">Warehouse</span>
</a>
</h4>
<vn-table model="model" auto-load="false"> <vn-table model="model" auto-load="false">
<vn-thead> <vn-thead>
<vn-tr> <vn-tr>