fix partner invoice style

master
luoyang 5 years ago
parent 45645f4b21
commit 229b5ca3bd

@ -162,13 +162,12 @@
<th>Currency</th> <th>Currency</th>
<th>Input Amount</th> <th>Input Amount</th>
<th>Total Amount</th> <th>Total Amount</th>
<!--<th>Surcharge Rate</th>--> <th>Surcharge rate for RoyalPay</th>
<th>Surcharge Amount</th> <th>Surcharge Amount for RoyalPay</th>
<th>System Rate</th> <th>GST Amount for RoyalPay</th>
<th>System Profit</th> <th>Surcharge rate for Mini Program</th>
<th>Incremental Rate</th> <th>Surcharge Amount for Mini Program</th>
<th>Incremental Profit</th> <th>GST Amount for Mini Program </th>
<th>Tax Amount</th>
<th ng-if="report.report[0].settle_amount!=null">Settle Amount</th> <th ng-if="report.report[0].settle_amount!=null">Settle Amount</th>
<th>Remark</th> <th>Remark</th>
</tr> </tr>
@ -185,16 +184,14 @@
<td ng-bind="tr.display_amount"></td> <td ng-bind="tr.display_amount"></td>
<td ng-bind="tr.transaction_amount"></td> <td ng-bind="tr.transaction_amount"></td>
<!--<td ng-bind="tr.surcharge_rate?(tr.surcharge_rate|percentage:1):report.channels[tr.channel].rate+'%'"></td>--> <!--<td ng-bind="tr.surcharge_rate?(tr.surcharge_rate|percentage:1):report.channels[tr.channel].rate+'%'"></td>-->
<td ng-bind="tr.total_surcharge?tr.total_surcharge:0"></td> <td>
<td>{{(((tr.surcharge_rate * 100) > tr.rate_value)?(tr.surcharge_rate * 100-tr.rate_value):tr.surcharge_rate)| number : 2}} {{(((tr.surcharge_rate * 100) > tr.rate_value)?((tr.surcharge_rate * 100-tr.rate_value)):(tr.surcharge_rate))|number:2}} %
<span ng-if="tr.surcharge_rate">%</span>
</td> </td>
<td>{{(tr.total_surcharge-tr.incremental_surcharge) | number : 2 | currency:tr.currency}}</td> <td ng-bind="(tr.real_royal_surcharge?tr.real_royal_surcharge:0)|currency:''"></td>
<td ng-if="tr.source=='RP跨境商城'"><span ng-if="tr.rate_value">{{tr.source}}:{{(tr.rate_value) | number : 2}}%</span></td> <td ng-bind="tr.royalpay_tax|currency:''"></td>
<td ng-if="tr.source!='RP跨境商城'">0.00%</td> <td ng-bind="(tr.rate_value/100)|percentage:2"></td>
<td ng-if="tr.source=='RP跨境商城'">{{tr.source}}:<span ng-if="tr.incremental_surcharge">{{tr.incremental_surcharge | currency:tr.currency}}</span><span ng-if="!tr.incremental_surcharge">{{0.00 | currency:tr.currency}}</span></td> <td ng-bind="(tr.incremental_surcharge?tr.incremental_surcharge:0)|currency:''"></td>
<td ng-if="tr.source!='RP跨境商城'">{{0.00 | currency:tr.currency}}</td> <td ng-bind="tr.incremental_tax|currency:''"></td>
<td ng-bind="tr.tax_amount"></td>
<td ng-if="tr.settle_amount!=null" ng-bind="tr.settle_amount|currency:''"></td> <td ng-if="tr.settle_amount!=null" ng-bind="tr.settle_amount|currency:''"></td>
<td ng-bind="tr.remark"></td> <td ng-bind="tr.remark"></td>
</tr> </tr>

Loading…
Cancel
Save