1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-16 08:02:40 +01:00
invoiceninja/resources/views/export.blade.php

80 lines
2.6 KiB
PHP
Raw Normal View History

2015-11-12 21:36:28 +01:00
<html>
<tr>
<td>{{ $title }}</td>
</tr>
@if (isset($clients) && $clients && count($clients))
2017-03-28 10:40:42 +02:00
<tr><td></td></tr>
2015-11-12 21:36:28 +01:00
<tr><td>{{ strtoupper(trans('texts.clients')) }}</td></tr>
@include('export.clients')
@endif
@if (isset($contacts) && $contacts && count($contacts))
2017-03-28 10:40:42 +02:00
<tr><td></td></tr>
2015-11-12 21:36:28 +01:00
<tr><td>{{ strtoupper(trans('texts.contacts')) }}</td></tr>
@include('export.contacts')
@endif
@if (isset($credits) && $credits && count($credits))
2017-03-28 10:40:42 +02:00
<tr><td></td></tr>
2015-11-12 21:36:28 +01:00
<tr><td>{{ strtoupper(trans('texts.credits')) }}</td></tr>
@include('export.credits')
@endif
@if (isset($tasks) && $tasks && count($tasks))
2017-03-28 10:40:42 +02:00
<tr><td></td></tr>
2015-11-12 21:36:28 +01:00
<tr><td>{{ strtoupper(trans('texts.tasks')) }}</td></tr>
@include('export.tasks')
@endif
@if (isset($invoices) && $invoices && count($invoices))
2017-03-28 10:40:42 +02:00
<tr><td></td></tr>
2015-11-12 21:36:28 +01:00
<tr><td>{{ strtoupper(trans('texts.invoices')) }}</td></tr>
@include('export.invoices')
@endif
@if (isset($quotes) && $quotes && count($quotes))
2017-03-28 10:40:42 +02:00
<tr><td></td></tr>
2015-11-12 21:36:28 +01:00
<tr><td>{{ strtoupper(trans('texts.quotes')) }}</td></tr>
2017-01-05 00:39:27 +01:00
@include('export.invoices', ['invoices' => $quotes, 'entityType' => ENTITY_QUOTE])
2015-11-12 21:36:28 +01:00
@endif
2016-02-25 10:25:07 +01:00
@if (isset($recurringInvoices) && $recurringInvoices && count($recurringInvoices))
2017-03-28 10:40:42 +02:00
<tr><td></td></tr>
2016-02-25 10:25:07 +01:00
<tr><td>{{ strtoupper(trans('texts.recurring_invoices')) }}</td></tr>
@include('export.recurring_invoices', ['entityType' => ENTITY_RECURRING_INVOICE])
@endif
2015-11-12 21:36:28 +01:00
@if (isset($payments) && $payments && count($payments))
2017-03-28 10:40:42 +02:00
<tr><td></td></tr>
2015-11-12 21:36:28 +01:00
<tr><td>{{ strtoupper(trans('texts.payments')) }}</td></tr>
@include('export.payments')
@endif
2016-12-15 14:28:24 +01:00
@if (isset($products) && $products && count($products))
2017-03-28 10:40:42 +02:00
<tr><td></td></tr>
2016-12-15 14:28:24 +01:00
<tr><td>{{ strtoupper(trans('texts.products')) }}</td></tr>
@include('export.products')
@endif
2016-12-05 19:35:01 +01:00
@if (isset($expenses) && $expenses && count($expenses))
2017-03-28 10:40:42 +02:00
<tr><td></td></tr>
2016-12-05 19:35:01 +01:00
<tr><td>{{ strtoupper(trans('texts.expenses')) }}</td></tr>
@include('export.expenses')
@endif
2016-09-19 08:59:31 +02:00
@if (isset($vendors) && $vendors && count($vendors))
2017-03-28 10:40:42 +02:00
<tr><td></td></tr>
2016-09-19 08:59:31 +02:00
<tr><td>{{ strtoupper(trans('texts.vendors')) }}</td></tr>
@include('export.vendors')
@endif
2016-09-19 09:18:06 +02:00
@if (isset($vendor_contacts) && $vendor_contacts && count($vendor_contacts))
2017-03-28 10:40:42 +02:00
<tr><td></td></tr>
2016-09-19 09:18:06 +02:00
<tr><td>{{ strtoupper(trans('texts.vendor_contacts')) }}</td></tr>
@include('export.vendor_contacts')
2016-09-19 08:59:31 +02:00
@endif
</html>