|
{{ Str::upper($lastname) }} {{ $firstname }}
|
|
{{ Str::singular(__('models.classes.companies')) }}
|
{{ $company->name }}
|
| {{ __('Entité à facturer') }} |
{{ $companyInvoiced->name }} |
|
{{ __('LDC Digital Groupe') }}
|
{{ __('ESTIMATION / DEVIS') }}
|
|
{{ __('Société / LDC Services') }}
|
| {{ __('Objet :') }} |
{{ $object }} |
| {{ __('Site Internet :') }} |
{{ $site->name }} |
| {{ __('Devis :') }} |
{{ $ref }} |
| {{ __('Date :') }} |
{{ Carbon\Carbon::parse($updated_at)->isoFormat('DD/MM/YYYY') }} |
@php
$tasks = collect($tasks);
$columns = 2 + ($show_days ? 1 : 0);
$page = 1;
$perPage = 8;
$lastPage = App\Lib\Helpers\CollectionHelper::paginateManually($tasks, $perPage)->lastPage();
@endphp
@while ($lastPage >= $page)
@php $taskList = App\Lib\Helpers\CollectionHelper::paginateManually($tasks, $perPage, $page); @endphp
@if ($page !== 1)
@endif
@if ($page === 1)
| {{ __('Tâches') }} |
@if ($show_days)
{{ __('Qté') }} |
@endif
{{ __('Montant') }} |
|
@endif
@foreach ($taskList as $task)
@if ($task['package'] ?? 0)
{{ __('Forfait : :package', [
'package' => $packages[$task['package']]->name ?? __('non existant'),
]) }}
@endif
{!! nl2br($task['desc']) !!}
|
@if ($show_days)
{{ number_format($task['days'], 2, ',', '') }} |
@endif
{{ number_format($task['amount'], 2, ',', '') }} |
@endforeach
@for ($i = $perPage - $taskList->count(); $i > 0; $i--)
@for ($k = $columns; $k > 0; $k--)
| |
@endfor
@endfor
@php $page++; @endphp
@if ($taskList->currentPage() < $taskList->lastPage())
@endif
@endwhile
| {{ __('Total') }} |
@if ($show_days)
{{ __(':total', [
'total' => number_format($total_days, 2, ',', ''),
]) }}
|
@endif
{{ __(':total €', [
'total' => number_format($total, 2, ',', ''),
]) }}
|
@if ($comment)
{{ __('Commentaire') }}
|
{{-- Impossible d\'appliquer ck-content ici --}}
{!! clean($comment) !!}
|
@endif