ldc-crm/resources/views/export/pdf.blade.php
2025-12-01 16:23:45 +01:00

24 lines
655 B
PHP

<!doctype html>
<html dir="ltr" lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<style>
.page-break {
page-break-after: always;
}
</style>
</head>
<body>
@foreach($models as $model)
@include('export.' . $modelName . '_item_pdf', ['model' => $model])
{{-- Page break between every claim. --}}
@if (!$loop->last)
<div class="page-break"></div>
@endif
@endforeach
</body>
</html>