|
55 | 55 | <td class="float-right">{{config('invoicer.header.unit')}}</td>
|
56 | 56 | <td class="float-right">{{config('invoicer.header.discount')}}</td>
|
57 | 57 | @if(config('invoicer.enabled.extra'))
|
58 |
| - @php $colspan++ @endphp |
| 58 | + @php $colspan1++ @endphp |
59 | 59 | <td class="float-right">{{config('invoicer.header.extra')}}</td>
|
60 | 60 | @endif
|
61 | 61 | @if(config('invoicer.enabled.addship'))
|
62 |
| - @php $colspan++ @endphp |
| 62 | + @php $colspan1++ @endphp |
63 | 63 | <td class="float-right">{{config('invoicer.header.addship')}}</td>
|
64 | 64 | @endif
|
65 | 65 | <td class="float-right">{{config('invoicer.header.subtotal')}}</td>
|
66 | 66 | </tr>
|
67 | 67 | </thead>
|
68 | 68 | <tbody>
|
69 | 69 | @foreach($that->items as $i => $item)
|
70 |
| - <tr> |
| 70 | + <tr class="small"> |
71 | 71 | <td>{{$i+1}}</td>
|
72 | 72 | <td>{{$item['title']}}</td>
|
73 | 73 | <td class="float-center">{{$item['qty']}}</td>
|
|
85 | 85 | <tr>
|
86 | 86 | <td class="no-top-tr" colspan="{{$colspan1}}"></td>
|
87 | 87 | <td class="float-right small" colspan="{{$colspan2}}">{{config('invoicer.header.sumtotal')}}</td>
|
88 |
| - <td class="float-right small">{{$that->sum_total}} {{config('invoicer.currency')}}</td> |
| 88 | + <td class="float-right small" colspan="{{$colspan2}}">{{$that->sum_total}} {{config('invoicer.currency')}}</td> |
89 | 89 | </tr>
|
90 | 90 | @if(config('invoicer.vat.allowed'))
|
91 | 91 | <tr>
|
92 | 92 | <td class="no-top-tr float-left small" colspan="{{$colspan1}}">{{$that->vat['number']}}</td>
|
93 | 93 | <td class="float-right small" colspan="{{$colspan2}}">VAT/TAX</td>
|
94 |
| - <td class="float-right small">{{$that->vat['amount']}} {{config('invoicer.currency')}}</td> |
| 94 | + <td class="float-right small" colspan="{{$colspan2}}">{{$that->vat['amount']}} {{config('invoicer.currency')}}</td> |
95 | 95 | </tr>
|
96 | 96 | @endif
|
97 | 97 | <tr>
|
98 | 98 | <td class="no-top-tr" colspan="{{$colspan1}}"></td>
|
99 | 99 | <td class="float-right small" colspan="{{$colspan2}}">{{config('invoicer.header.shipping')}}</td>
|
100 |
| - <td class="float-right small">{{$that->ship_total}} {{config('invoicer.currency')}}</td> |
| 100 | + <td class="float-right small" colspan="{{$colspan2}}">{{$that->ship_total}} {{config('invoicer.currency')}}</td> |
101 | 101 | </tr>
|
102 | 102 | <tr>
|
103 | 103 | <td class="no-top-tr" colspan="{{$colspan1}}"></td>
|
104 | 104 | <td class="float-right small" colspan="{{$colspan2}}">{{config('invoicer.header.homecost')}}</td>
|
105 |
| - <td class="float-right small">{{$that->home_cost}} {{config('invoicer.currency')}}</td> |
| 105 | + <td class="float-right small" colspan="{{$colspan2}}">{{$that->home_cost}} {{config('invoicer.currency')}}</td> |
106 | 106 | </tr>
|
107 | 107 | @if($that->coupon_discount > 0)
|
108 | 108 | <tr>
|
109 | 109 | <td class="no-top-tr" colspan="{{$colspan1}}">#{{$that->coupon_code}}</td>
|
110 | 110 | <td class="float-right small" colspan="{{$colspan2}}">{{config('invoicer.header.coupon')}}</td>
|
111 |
| - <td class="float-right small">{{$that->coupon_discount}} {{config('invoicer.currency')}}</td> |
| 111 | + <td class="float-right small" colspan="{{$colspan2}}">{{$that->coupon_discount}} {{config('invoicer.currency')}}</td> |
112 | 112 | </tr>
|
113 | 113 | @endif
|
114 | 114 | <tr>
|
115 | 115 | <td class="no-top-tr" colspan="{{$colspan1}}"></td>
|
116 | 116 | <td class="float-right title" colspan="{{$colspan2}}">Total</td>
|
117 |
| - <td class="float-right">{{$that->total}} {{config('invoicer.currency')}}</td> |
| 117 | + <td class="float-right" colspan="{{$colspan2}}">{{$that->total}} {{config('invoicer.currency')}}</td> |
118 | 118 | </tr>
|
119 | 119 | </tbody>
|
120 | 120 | </table>
|
|
0 commit comments