From 31d28fbe68e87d509f9491071cf90f8cd67b4cd7 Mon Sep 17 00:00:00 2001 From: Kazem Alghasi Date: Tue, 4 Aug 2026 09:50:53 +0330 Subject: [PATCH] docs(pdf): add technical mapping and implementation notes to templates Add detailed documentation within AWB, Invoice, and Label PDF templates to map HTML elements to specific Excel cell references and VLOOKUP sources. This includes requirements for fonts, colors, and dimensions to ensure future alignment with official IFNEX branding and Excel templates. Also update project status to reflect completed middleware configuration tasks. --- 01_Documents/STATUS.md | 4 +-- 04_Laravel/resources/views/pdfs/awb.blade.php | 28 +++++++++++++++ .../resources/views/pdfs/invoice.blade.php | 34 ++++++++++++++++++ .../resources/views/pdfs/label.blade.php | 36 +++++++++++++++++++ 4 files changed, 100 insertions(+), 2 deletions(-) diff --git a/01_Documents/STATUS.md b/01_Documents/STATUS.md index 2dba225..49f561e 100644 --- a/01_Documents/STATUS.md +++ b/01_Documents/STATUS.md @@ -178,8 +178,8 @@ | # | فایل | مشکل | وضعیت | راه‌حل | |---|------|------|-------|-------| -| 1 | `bootstrap/app.php` | گروه `web` تعریف نشده | ⚠️ باز | اضافه کردن `$middleware->group('web', [...])` | -| 2 | `AdminPanelProvider.php` | Middlewareهای طولانی به صورت لیست دستی | ⚠️ بهبودنیاز | استفاده از گروه `web` به جای لیست دستی | +| 1 | `bootstrap/app.php` | گروه `web` تعریف نشده | ✅ انجام شد | `$middleware->group('web', [...])` اضافه شد | +| 2 | `AdminPanelProvider.php` | Middlewareهای طولانی به صورت لیست دستی | ✅ انجام شد | استفاده از گروه `web` به جای لیست دستی | | 3 | `bootstrap/app.php` | `statefulApi` تعریف نشده | 🟡 آینده | برای احراز هویت SPA در فاز بعد لازم است | **توضیح مشکل #1:** diff --git a/04_Laravel/resources/views/pdfs/awb.blade.php b/04_Laravel/resources/views/pdfs/awb.blade.php index adbafb6..10ad453 100644 --- a/04_Laravel/resources/views/pdfs/awb.blade.php +++ b/04_Laravel/resources/views/pdfs/awb.blade.php @@ -1,4 +1,32 @@ + diff --git a/04_Laravel/resources/views/pdfs/invoice.blade.php b/04_Laravel/resources/views/pdfs/invoice.blade.php index c9bb3b6..ebd52dc 100644 --- a/04_Laravel/resources/views/pdfs/invoice.blade.php +++ b/04_Laravel/resources/views/pdfs/invoice.blade.php @@ -1,4 +1,38 @@ + diff --git a/04_Laravel/resources/views/pdfs/label.blade.php b/04_Laravel/resources/views/pdfs/label.blade.php index b9a29ec..44bdb98 100644 --- a/04_Laravel/resources/views/pdfs/label.blade.php +++ b/04_Laravel/resources/views/pdfs/label.blade.php @@ -1,4 +1,40 @@ +