add phones in ticket summary
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
4691f5e916
commit
74b27778ab
|
@ -359,7 +359,7 @@ export default {
|
|||
popoverDiaryButton: '.vn-popover.shown vn-item-descriptor vn-icon[icon="icon-transaction"]',
|
||||
firstSaleQuantity: 'vn-ticket-summary [name="sales"] vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(3)',
|
||||
firstSaleDiscount: 'vn-ticket-summary [name="sales"] vn-table > div > vn-tbody > vn-tr > vn-td:nth-child(6)',
|
||||
invoiceOutRef: 'vn-ticket-summary > vn-card > vn-horizontal > vn-one:nth-child(1) > vn-label-value:nth-child(6) > section > span',
|
||||
invoiceOutRef: 'vn-ticket-summary > vn-card > vn-horizontal > vn-one:nth-child(1) > vn-label-value:nth-child(7) > section > span',
|
||||
setOk: 'vn-ticket-summary vn-button[label="SET OK"] > button'
|
||||
},
|
||||
ticketsIndex: {
|
||||
|
|
|
@ -55,7 +55,7 @@ module.exports = Self => {
|
|||
{
|
||||
relation: 'client',
|
||||
scope: {
|
||||
fields: ['salesPersonFk', 'name'],
|
||||
fields: ['salesPersonFk', 'name', 'phone', 'mobile'],
|
||||
include: {
|
||||
relation: 'salesPerson',
|
||||
scope: {
|
||||
|
@ -73,7 +73,7 @@ module.exports = Self => {
|
|||
{
|
||||
relation: 'address',
|
||||
scope: {
|
||||
fields: ['street', 'city', 'provinceFk', 'phone'],
|
||||
fields: ['street', 'city', 'provinceFk', 'phone', 'mobile'],
|
||||
include: {
|
||||
relation: 'province',
|
||||
scope: {
|
||||
|
|
|
@ -30,6 +30,13 @@
|
|||
<vn-label-value label="Warehouse"
|
||||
value="{{$ctrl.summary.warehouse.name}}">
|
||||
</vn-label-value>
|
||||
<vn-label-value label="Route">
|
||||
<span
|
||||
ng-click="$ctrl.showRouteDescriptor($event)"
|
||||
class="link">
|
||||
{{$ctrl.summary.routeFk}}
|
||||
</span>
|
||||
</vn-label-value>
|
||||
<vn-label-value label="Invoice"
|
||||
value="{{$ctrl.summary.refFk}}">
|
||||
</vn-label-value>
|
||||
|
@ -41,22 +48,28 @@
|
|||
<vn-label-value label="Landed"
|
||||
value="{{$ctrl.summary.landed | date: 'dd/MM/yyyy'}}">
|
||||
</vn-label-value>
|
||||
<vn-label-value label="Route">
|
||||
<span
|
||||
ng-click="$ctrl.showRouteDescriptor($event)"
|
||||
class="link">
|
||||
{{$ctrl.summary.routeFk}}
|
||||
</span>
|
||||
</vn-label-value>
|
||||
<vn-label-value label="Package size"
|
||||
value="{{$ctrl.summary.packages}}">
|
||||
</vn-label-value>
|
||||
<vn-label-value label="Address"
|
||||
value="{{$ctrl.formattedAddress}}">
|
||||
</vn-label-value>
|
||||
<vn-label-value label="Phone"
|
||||
<vn-label-value label="Address phone"
|
||||
ng-if="$ctrl.summary.address.phone != null"
|
||||
value="{{$ctrl.summary.address.phone}}">
|
||||
</vn-label-value>
|
||||
<vn-label-value label="Address mobile"
|
||||
ng-if="$ctrl.summary.address.mobile != null"
|
||||
value="{{$ctrl.summary.address.mobile}}">
|
||||
</vn-label-value>
|
||||
<vn-label-value label="Client phone"
|
||||
ng-if="$ctrl.summary.client.phone != null"
|
||||
value="{{$ctrl.summary.client.phone}}">
|
||||
</vn-label-value>
|
||||
<vn-label-value label="Client mobile"
|
||||
ng-if="$ctrl.summary.client.mobile != null"
|
||||
value="{{$ctrl.summary.client.mobile}}">
|
||||
</vn-label-value>
|
||||
</vn-one>
|
||||
<vn-one class="notes">
|
||||
<vn-label-value
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Address phone: Tel. consignatario
|
||||
Address mobile: Móv. consignatario
|
||||
Client phone: Tel. cliente
|
||||
Client mobile: Móv. cliente
|
Loading…
Reference in New Issue