|
18 | 18 | </td>
|
19 | 19 | <td width="50%" style="text-align: right">
|
20 | 20 | @if($logo)
|
21 |
| - <img src="{{ asset('storage/'.$logo) }}" height="140" /> |
| 21 | + <img src="{{ asset('storage/'.$logo) }}" height="140" style="margin-top: 10px" /> |
22 | 22 | @endif
|
23 | 23 | </td>
|
24 | 24 | </tr>
|
|
87 | 87 | <th scope="col">{{ ucfirst(__('laravel-crm::lang.quantity')) }}</th>
|
88 | 88 | <th scope="col">{{ $taxName }}</th>
|
89 | 89 | <th scope="col">{{ ucfirst(__('laravel-crm::lang.amount')) }}</th>
|
90 |
| - <th scope="col">{{ ucfirst(__('laravel-crm::lang.comments')) }}</th> |
91 | 90 | </tr>
|
92 | 91 | </thead>
|
93 | 92 | <tbody>
|
94 | 93 | @foreach($invoice->invoiceLInes()->whereNotNull('product_id')->get() as $invoiceLine)
|
95 | 94 | <tr>
|
96 |
| - <td>{{ $invoiceLine->product->name ?? null}}</td> |
| 95 | + <td> |
| 96 | + {{ $invoiceLine->product->name ?? null }} |
| 97 | + @if($invoiceLine->comments) |
| 98 | + <br /><br /> |
| 99 | + <strong>{{ ucfirst(__('laravel-crm::lang.comments')) }}: </strong> <br /> |
| 100 | + {{ $invoiceLine->comments }} |
| 101 | + @endif |
| 102 | + </td> |
97 | 103 | <td>{{ money($invoiceLine->price ?? null, $invoiceLine->currency) }}</td>
|
98 | 104 | <td>{{ $invoiceLine->quantity }}</td>
|
99 | 105 | <td>{{ money($invoiceLine->tax_amount ?? null, $invoiceLine->currency) }}</td>
|
100 | 106 | <td>{{ money($invoiceLine->amount ?? null, $invoiceLine->currency) }}</td>
|
101 |
| - <td>{{ $invoiceLine->comments }}</td> |
102 | 107 | </tr>
|
103 | 108 | @endforeach
|
104 | 109 | </tbody>
|
|
109 | 114 | <td></td>
|
110 | 115 | <td><strong>{{ ucfirst(__('laravel-crm::lang.sub_total')) }}</strong></td>
|
111 | 116 | <td>{{ money($invoice->subtotal, $invoice->currency) }}</td>
|
112 |
| - <td></td> |
113 | 117 | </tr>
|
114 | 118 | @if($invoice->discount > 0)
|
115 | 119 | <tr>
|
|
118 | 122 | <td></td>
|
119 | 123 | <td><strong>{{ ucfirst(__('laravel-crm::lang.discount')) }}</strong></td>
|
120 | 124 | <td>{{ money($invoice->discount, $invoice->currency) }}</td>
|
121 |
| - <td></td> |
122 | 125 | </tr>
|
123 | 126 | @endif
|
124 | 127 | <tr>
|
|
127 | 130 | <td></td>
|
128 | 131 | <td><strong>{{ $taxName }}</strong></td>
|
129 | 132 | <td>{{ money($invoice->tax, $invoice->currency) }}</td>
|
130 |
| - <td></td> |
131 | 133 | </tr>
|
132 | 134 | {{--<tr>
|
133 | 135 | <td></td>
|
134 | 136 | <td></td>
|
135 | 137 | <td></td>
|
136 | 138 | <td><strong>{{ ucfirst(__('laravel-crm::lang.adjustment')) }}</strong></td>
|
137 | 139 | <td>{{ money($invoice->adjustments, $invoice->currency) }}</td>
|
138 |
| - <td></td> |
| 140 | + |
139 | 141 | </tr>--}}
|
140 | 142 | <tr>
|
141 | 143 | <td></td>
|
142 | 144 | <td></td>
|
143 | 145 | <td></td>
|
144 | 146 | <td><strong>{{ ucfirst(__('laravel-crm::lang.total')) }}</strong></td>
|
145 | 147 | <td>{{ money($invoice->total, $invoice->currency) }}</td>
|
146 |
| - <td></td> |
147 | 148 | </tr>
|
148 | 149 | </tfoot>
|
149 | 150 | </table>
|
|
0 commit comments