{{-- ============================================================================ SHARED HEAD ASSETS FOR PURCHASE BILL TEMPLATES ============================================================================ Purpose: -------- This partial contains common CSS and asset includes that are shared across all purchase bill PDF templates. It ensures consistent styling and behavior across different languages (Arabic/English) and printing modes. Usage: ------ Include this partial in the section of any purchase bill template: @include('purchases::purchase_bills.partials.shared-head-assets') Current Templates Using This Partial: -------------------------------------- - Arabic Single: /Modules/Purchases/Resources/views/purchase_bills/pdf-ar.blade.php - English Single: /Modules/Purchases/Resources/views/purchase_bills/pdf-en.blade.php - Arabic All: /Modules/Purchases/Resources/views/purchase_bills/pdf-all-ar.blade.php - English All: /Modules/Purchases/Resources/views/purchase_bills/pdf-all-en.blade.php Included Assets: ---------------- 1. purchase-bills-adjustments.css - CSS adjustments specific to purchase bills - Handles table layout and column sizing - Controls text wrapping and overflow - Ensures proper rendering in both RTL (Arabic) and LTR (English) modes - Optimizes for PDF generation and printing - Prevents conflicts with other modules (Sales, etc.) Future Enhancements: -------------------- TODO: Consider adding: - Font size variants (normal, large, xlarge) if needed - Print-specific optimizations - Common JavaScript (if needed) - Additional purchase bill specific styles Maintenance Notes: ------------------ - When adding new purchase bill templates, ensure they include this partial - Test changes in both RTL and LTR modes - Verify PDF generation produces clean output - Ensure styles don't conflict with sales invoice templates Last Updated: 2025-11-30 ============================================================================ --}} {{-- Purchase Bills Adjustments Stylesheet --}}