diff --git a/package-lock.json b/package-lock.json
index 572ab94..73a6148 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,5 +1,5 @@
{
- "name": "srcs",
+ "name": "support-web",
"lockfileVersion": 3,
"requires": true,
"packages": {
diff --git a/resources/views/bo/pages/documents/invoice.blade.php b/resources/views/bo/pages/documents/invoice.blade.php
index dc9e960..400527e 100644
--- a/resources/views/bo/pages/documents/invoice.blade.php
+++ b/resources/views/bo/pages/documents/invoice.blade.php
@@ -61,21 +61,23 @@
- | {{ Str::upper($lastname) }} {{ $firstname }} |
+ {{ Str::upper($lastname) }} {{ $firstname }}
+ |
| {{ Str::singular(__('models.classes.companies')) }} |
- {{ $company->name }} |
+ {{ $company->name }} |
| {{ __('Entité à facturer') }} |
- {{ $companyInvoiced->name }} |
+ {{ $companyInvoiced->name }} |
-
-
+ |
+
|
{{ __('SERVICE WEB MARKETING GROUPE') }}
@@ -103,116 +105,120 @@
|
- |
+ |
{{ __('Prestation WEB') }}
|
@php
- $tasks = collect($tasks);
- $columns = 2 + ( $show_days ? 1 : 0);
- $page = 1;
- $perPage = 8;
- $lastPage = App\Lib\Helpers\CollectionHelper::paginateManually($tasks, $perPage)->lastPage();
+ $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
+ @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)
- {{ __('Jours') }} |
- @endif
- {{ __('Montant') }} |
-
-
- |
-
+ @if ($page !== 1)
+
@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
-
-
+
+ @if ($page === 1)
- | {{ __('Total') }} |
- @if($show_days)
- {{ __(':total Jours', [
- 'total' => number_format($total_days, 2, ',', '')
- ]) }} |
+ {{ __('Tâches') }} |
+ @if ($show_days)
+ {{ __('Jours') }} |
@endif
- {{ __(':total €', [
- 'total' => number_format($total, 2, ',', '')
- ]) }} |
+ {{ __('Montant') }} |
-
- @if($comment)
-
-
- {{ __('Commentaire') }}
-
-
-
- |
- {{-- Impossible d\'appliquer ck-content ici --}}
- {!! clean($comment) !!}
- |
+
+ |
-
@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 Jours', [
+ '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
-