feat(store): fix PDF peso sign rendering by using DejaVu Sans font, and update inventory reference label to Retail
This commit is contained in:
@@ -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; }
|
||||
|
||||
@@ -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>`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user