2844-item last entries show the total cost in the "cost" column #585
|
@ -40,6 +40,10 @@ module.exports = Self => {
|
|||
b.weight,
|
||||
i.stems,
|
||||
b.quantity,
|
||||
b.buyingValue +
|
||||
b.freightValue +
|
||||
b.comissionValue +
|
||||
b.packageValue AS cost,
|
||||
b.buyingValue,
|
||||
b.freightValue,
|
||||
b.comissionValue,
|
||||
|
|
|
@ -72,20 +72,16 @@
|
|||
</vn-td>
|
||||
<vn-td number class="expendable">{{::entry.stems | dashIfEmpty}}</vn-td>
|
||||
<vn-td number>{{::entry.quantity}}</vn-td>
|
||||
<vn-td translate number
|
||||
class="expendable"
|
||||
ng-init="
|
||||
itemTotalCost =
|
||||
entry.buyingValue +
|
||||
entry.packageValue +
|
||||
entry.freightValue +
|
||||
entry.comissionValue"
|
||||
vn-tooltip="
|
||||
{{::$ctrl.$t('Cost')}}: {{::entry.buyingValue| dashIfEmpty}} +
|
||||
{{::$ctrl.$t('Package')}}: {{::entry.packageValue| dashIfEmpty}} +
|
||||
{{::$ctrl.$t('Freight')}}: {{::entry.freightValue| dashIfEmpty}} +
|
||||
{{::$ctrl.$t('Comission')}}: {{::entry.comissionValue| dashIfEmpty}}">
|
||||
{{itemTotalCost | dashIfEmpty}}
|
||||
<vn-td number
|
||||
class="expendable">
|
||||
<span
|
||||
vn-tooltip="
|
||||
{{::$ctrl.$t('Cost')}}: {{::entry.buyingValue| dashIfEmpty}}<br>
|
||||
{{::$ctrl.$t('Package')}}: {{::entry.packageValue| dashIfEmpty}}<br>
|
||||
{{::$ctrl.$t('Freight')}}: {{::entry.freightValue| dashIfEmpty}}<br>
|
||||
{{::$ctrl.$t('Comission')}}: {{::entry.comissionValue| dashIfEmpty}}">
|
||||
{{::entry.cost | dashIfEmpty}}
|
||||
</span>
|
||||
</vn-td>
|
||||
<vn-td number>{{::entry.weight | dashIfEmpty}}</vn-td>
|
||||
<vn-td number>{{::entry.packageFk | dashIfEmpty}}</vn-td>
|
||||
|
|
Loading…
Reference in New Issue