Merge branch 'dev' into 2866-descriptor_photo
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
commit
893de63f74
|
@ -13,12 +13,10 @@
|
||||||
<vn-th field="landed" center expand>Landed</vn-th>
|
<vn-th field="landed" center expand>Landed</vn-th>
|
||||||
<vn-th>Reference</vn-th>
|
<vn-th>Reference</vn-th>
|
||||||
<vn-th field="supplierFk">Supplier</vn-th>
|
<vn-th field="supplierFk">Supplier</vn-th>
|
||||||
<vn-th field="currencyFk" center>Currency</vn-th>
|
|
||||||
<vn-th field="companyFk" center>Company</vn-th>
|
|
||||||
<vn-th field="isBooked" center>Booked</vn-th>
|
<vn-th field="isBooked" center>Booked</vn-th>
|
||||||
<vn-th field="isConfirmed" center>Confirmed</vn-th>
|
<vn-th field="isConfirmed" center>Confirmed</vn-th>
|
||||||
<vn-th field="isOrdered" center>Ordered</vn-th>
|
<vn-th field="isOrdered" center>Ordered</vn-th>
|
||||||
<vn-th>Notes</vn-th>
|
<vn-th shrink></vn-th>
|
||||||
</vn-tr>
|
</vn-tr>
|
||||||
</vn-thead>
|
</vn-thead>
|
||||||
<vn-tbody>
|
<vn-tbody>
|
||||||
|
@ -49,18 +47,15 @@
|
||||||
</vn-td>
|
</vn-td>
|
||||||
<vn-td expand>{{::entry.ref}}</vn-td>
|
<vn-td expand>{{::entry.ref}}</vn-td>
|
||||||
<vn-td expand>{{::entry.supplierName}}</vn-td>
|
<vn-td expand>{{::entry.supplierName}}</vn-td>
|
||||||
<vn-td center expand>{{::entry.currencyCode}}</vn-td>
|
|
||||||
<vn-td center expand>{{::entry.companyCode}}</vn-td>
|
|
||||||
<vn-td center><vn-check ng-model="entry.isBooked" disabled="true"></vn-check></vn-td>
|
<vn-td center><vn-check ng-model="entry.isBooked" disabled="true"></vn-check></vn-td>
|
||||||
<vn-td center><vn-check ng-model="entry.isConfirmed" disabled="true"></vn-check></vn-td>
|
<vn-td center><vn-check ng-model="entry.isConfirmed" disabled="true"></vn-check></vn-td>
|
||||||
<vn-td center><vn-check ng-model="entry.isOrdered" disabled="true"></vn-check></vn-td>
|
<vn-td center><vn-check ng-model="entry.isOrdered" disabled="true"></vn-check></vn-td>
|
||||||
<vn-td shrink>
|
<vn-td shrink>
|
||||||
<vn-icon
|
<vn-icon-button
|
||||||
ng-if="entry.notes.length"
|
vn-click-stop="$ctrl.preview(entry)"
|
||||||
vn-tooltip="{{::entry.notes}}"
|
vn-tooltip="Preview"
|
||||||
icon="insert_drive_file"
|
icon="preview">
|
||||||
class="bright">
|
</vn-icon-button>
|
||||||
</vn-icon>
|
|
||||||
</vn-td>
|
</vn-td>
|
||||||
</a>
|
</a>
|
||||||
</vn-tbody>
|
</vn-tbody>
|
||||||
|
@ -70,7 +65,11 @@
|
||||||
<vn-travel-descriptor-popover
|
<vn-travel-descriptor-popover
|
||||||
vn-id="travelDescriptor">
|
vn-id="travelDescriptor">
|
||||||
</vn-travel-descriptor-popover>
|
</vn-travel-descriptor-popover>
|
||||||
|
<vn-popup vn-id="summary">
|
||||||
|
<vn-entry-summary
|
||||||
|
entry="$ctrl.entrySelected">
|
||||||
|
</vn-entry-summary>
|
||||||
|
</vn-popup>
|
||||||
<div fixed-bottom-right>
|
<div fixed-bottom-right>
|
||||||
<vn-vertical style="align-items: center;">
|
<vn-vertical style="align-items: center;">
|
||||||
<a ui-sref="entry.create" vn-bind="+">
|
<a ui-sref="entry.create" vn-bind="+">
|
||||||
|
|
|
@ -1,7 +1,12 @@
|
||||||
import ngModule from '../module';
|
import ngModule from '../module';
|
||||||
import Section from 'salix/components/section';
|
import Section from 'salix/components/section';
|
||||||
|
|
||||||
export default class Controller extends Section {}
|
export default class Controller extends Section {
|
||||||
|
preview(entry) {
|
||||||
|
this.entrySelected = entry;
|
||||||
|
this.$.summary.show();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
ngModule.vnComponent('vnEntryIndex', {
|
ngModule.vnComponent('vnEntryIndex', {
|
||||||
template: require('./index.html'),
|
template: require('./index.html'),
|
||||||
|
|
|
@ -50,6 +50,8 @@
|
||||||
vn-tooltip="Preview"
|
vn-tooltip="Preview"
|
||||||
icon="preview">
|
icon="preview">
|
||||||
</vn-icon-button>
|
</vn-icon-button>
|
||||||
|
</vn-td>
|
||||||
|
<vn-td shrink>
|
||||||
<vn-icon-button
|
<vn-icon-button
|
||||||
ng-show="invoiceIn.dmsFk"
|
ng-show="invoiceIn.dmsFk"
|
||||||
vn-click-stop="$ctrl.openPdf(invoiceIn.dmsFk)"
|
vn-click-stop="$ctrl.openPdf(invoiceIn.dmsFk)"
|
||||||
|
|
Loading…
Reference in New Issue