| {{ Str::upper($lastname) }} {{ $firstname }} |
| {{ Str::singular(__('models.classes.companies')) }} |
{{ $company->name }} |
| {{ __('Entité à facturer') }} |
{{ $companyInvoiced->name }} |
|
{{ __('SERVICE WEB MARKETING GROUPE') }}
|
| {{ __('Objet :') }} |
{{ $object }} |
| {{ __('Site Internet :') }} |
{{ $site->name }} |
| {{ __('Devis :') }} |
{{ $ref }} |
| {{ __('Date :') }} |
{{ Carbon::parse($updated_at)->isoFormat('DD/MM/YYYY HH:mm') }} |
|
{{ __('Prestation WEB') }}
|
@php
$tasks = collect($tasks);
$columns = 2 + ( $show_days ? 1 : 0);
$page = 1;
$perPage = 8;
$lastPage = App\Lib\CollectionHelper::paginateManually($tasks, $perPage)->lastPage();
@endphp
@while($lastPage >= $page)
@php $taskList = App\Lib\CollectionHelper::paginateManually($tasks, $perPage, $page); @endphp
@if($page !== 1)
@endif
@if($page === 1)
| {{ __('Tâches') }} |
@if($show_days)
{{ __('Jours') }} |
@endif
{{ __('Montant') }} |
|
@endif
@foreach($taskList as $task)
@if($task['package'] ?? 0)
{{ __('Forfait : :package', [
'package' => $packages[$task['package']]->name ?? __('non existant')
]) }}
@endif
{{ $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 Jours', [
'total' => number_format($total_days, 2, ',', '')
]) }} |
@endif
{{ __(':total €', [
'total' => number_format($total, 2, ',', '')
]) }} |
@if($comment)
{{ __('Commentaire') }}
|
{{ Str::limit($comment, 2100) }}
|
@endif