ordero-team / ordero-api-v2

Ordero API - Ordering has never been more enjoyable than this! 😄
1 stars 0 forks source link

[FIX-54] Owner/Cashier - Print Order Bill #57

Closed akbarsaputrait closed 2 months ago

akbarsaputrait commented 2 months ago

PR Summary by Typo

Summary: This pull request introduces the ability to generate and download order bills, adds new dependencies, and updates entities.

Key Points:

  1. New PdfService method billInvoice generates PDF invoices using Handlebars templates and HTMLToPDF.
  2. Added isVerified property and orders relationship for StaffUser entity, created related database migrations.
  3. Dropped a foreign key constraint and column owner_id from the order table, added OwnerGetBill event type and bill.hbs template.

    To turn off PR summary, please visit Notification settings.
typo-app[bot] commented 2 months ago

Typo Code Review 📊

✅ All checks passed!