feat(store): fix PDF peso sign rendering by using DejaVu Sans font, and update inventory reference label to Retail

This commit is contained in:
ramram1515
2026-07-06 16:27:24 +08:00
parent f42bb7010c
commit 6c23fe0060
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Receipt #{{ $sale->id }}</title>
<style>
body { font-family: sans-serif; color: #333; margin: 0; padding: 20px; font-size: 14px; }
body { font-family: 'DejaVu Sans', sans-serif; color: #333; margin: 0; padding: 20px; font-size: 14px; }
.header { text-align: center; margin-bottom: 30px; border-bottom: 2px solid #eee; padding-bottom: 10px; }
.logo { color: #16a34a; font-weight: bold; font-size: 24px; letter-spacing: -1px; }
.info-grid { width: 100%; margin-bottom: 30px; }

View File

@@ -83,7 +83,7 @@
} else if (log.type === 'purchase') {
refHtml = `<span class="rounded bg-neutral-100 px-2 py-0.5 text-[9px] font-bold uppercase tracking-wider text-neutral-500">Wholesale Batch</span>`;
} else if (log.type === 'sale') {
refHtml = `<span class="rounded bg-neutral-100 px-2 py-0.5 text-[9px] font-bold uppercase tracking-wider text-neutral-500">Sold to Household</span>`;
refHtml = `<span class="rounded bg-neutral-100 px-2 py-0.5 text-[9px] font-bold uppercase tracking-wider text-neutral-500">Retail</span>`;
} else {
refHtml = `<span class="rounded bg-neutral-100 px-2 py-0.5 text-[9px] font-bold uppercase tracking-wider text-neutral-500">Bulk Adjustment</span>`;
}