Files
MKM/resources/views/transmittal/export/transmittal-export-pdf.blade.php
Jp 5d427cdea4 feat: add discount management and PDF export for transmittals
- Create Discount model, migration, and Filament resource with relation to Client
- Add PDF export functionality for transmittals using DomPDF
- Include discount type selection in sales transactions
- Fix account filtering logic in expense resource
- Update export job to generate PDF instead of Excel
2026-02-18 01:42:44 +08:00

48 lines
1.1 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Transmittal Report</title>
<style>
body {
font-family: DejaVu Sans, sans-serif;
font-size: 12px;
}
.header {
text-align: center;
margin-bottom: 20px;
}
.header-logo {
height: 60px;
margin-bottom: 10px;
}
.header-title {
font-size: 20px;
font-weight: bold;
}
table {
width: 100%;
border-collapse: collapse;
}
th, td {
border: 1px solid #000;
padding: 4px;
}
th {
text-transform: capitalize;
text-align: center;
}
</style>
</head>
<body>
<div class="header">
<img src="{{ public_path('images/logo.png') }}" alt="Logo" class="header-logo">
<div class="header-title">Transmittal Report</div>
</div>
@include('transmittal.export.transmittal-export-table', ['transmittals' => $transmittals])
</body>
</html>