1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Remove newline from end of CSV exports

This commit is contained in:
Hillel Coren 2017-03-28 11:40:42 +03:00
parent aad8c5e53f
commit 1debb52997
12 changed files with 12 additions and 23 deletions

View File

@ -3,64 +3,75 @@
<tr>
<td>{{ $title }}</td>
</tr>
<tr><td></td></tr>
@if (isset($clients) && $clients && count($clients))
<tr><td></td></tr>
<tr><td>{{ strtoupper(trans('texts.clients')) }}</td></tr>
@include('export.clients')
@endif
@if (isset($contacts) && $contacts && count($contacts))
<tr><td></td></tr>
<tr><td>{{ strtoupper(trans('texts.contacts')) }}</td></tr>
@include('export.contacts')
@endif
@if (isset($credits) && $credits && count($credits))
<tr><td></td></tr>
<tr><td>{{ strtoupper(trans('texts.credits')) }}</td></tr>
@include('export.credits')
@endif
@if (isset($tasks) && $tasks && count($tasks))
<tr><td></td></tr>
<tr><td>{{ strtoupper(trans('texts.tasks')) }}</td></tr>
@include('export.tasks')
@endif
@if (isset($invoices) && $invoices && count($invoices))
<tr><td></td></tr>
<tr><td>{{ strtoupper(trans('texts.invoices')) }}</td></tr>
@include('export.invoices')
@endif
@if (isset($quotes) && $quotes && count($quotes))
<tr><td></td></tr>
<tr><td>{{ strtoupper(trans('texts.quotes')) }}</td></tr>
@include('export.invoices', ['invoices' => $quotes, 'entityType' => ENTITY_QUOTE])
@endif
@if (isset($recurringInvoices) && $recurringInvoices && count($recurringInvoices))
<tr><td></td></tr>
<tr><td>{{ strtoupper(trans('texts.recurring_invoices')) }}</td></tr>
@include('export.recurring_invoices', ['entityType' => ENTITY_RECURRING_INVOICE])
@endif
@if (isset($payments) && $payments && count($payments))
<tr><td></td></tr>
<tr><td>{{ strtoupper(trans('texts.payments')) }}</td></tr>
@include('export.payments')
@endif
@if (isset($products) && $products && count($products))
<tr><td></td></tr>
<tr><td>{{ strtoupper(trans('texts.products')) }}</td></tr>
@include('export.products')
@endif
@if (isset($expenses) && $expenses && count($expenses))
<tr><td></td></tr>
<tr><td>{{ strtoupper(trans('texts.expenses')) }}</td></tr>
@include('export.expenses')
@endif
@if (isset($vendors) && $vendors && count($vendors))
<tr><td></td></tr>
<tr><td>{{ strtoupper(trans('texts.vendors')) }}</td></tr>
@include('export.vendors')
@endif
@if (isset($vendor_contacts) && $vendor_contacts && count($vendor_contacts))
<tr><td></td></tr>
<tr><td>{{ strtoupper(trans('texts.vendor_contacts')) }}</td></tr>
@include('export.vendor_contacts')
@endif

View File

@ -49,5 +49,3 @@
@endif
</tr>
@endforeach
<tr><td></td></tr>

View File

@ -23,5 +23,3 @@
</tr>
@endif
@endforeach
<tr><td></td></tr>

View File

@ -21,5 +21,3 @@
</tr>
@endif
@endforeach
<tr><td></td></tr>

View File

@ -25,5 +25,3 @@
<td>{{ $expense->private_notes }}</td>
</tr>
@endforeach
<tr><td></td></tr>

View File

@ -55,5 +55,3 @@
</tr>
@endif
@endforeach
<tr><td></td></tr>

View File

@ -25,5 +25,3 @@
</tr>
@endif
@endforeach
<tr><td></td></tr>

View File

@ -17,5 +17,3 @@
<td>{{ $product->cost }}</td>
</tr>
@endforeach
<tr><td></td></tr>

View File

@ -51,5 +51,3 @@
</tr>
@endif
@endforeach
<tr><td></td></tr>

View File

@ -21,5 +21,3 @@
</tr>
@endif
@endforeach
<tr><td></td></tr>

View File

@ -23,5 +23,3 @@
</tr>
@endif
@endforeach
<tr><td></td></tr>

View File

@ -25,5 +25,3 @@
<td>{{ $vendor->present()->country }}</td>
</tr>
@endforeach
<tr><td></td></tr>