feat: add discount management and PDF export for transmittals

- Create Discount model, migration, and Filament resource with relation to Client
- Add PDF export functionality for transmittals using DomPDF
- Include discount type selection in sales transactions
- Fix account filtering logic in expense resource
- Update export job to generate PDF instead of Excel
This commit is contained in:
Jp
2026-02-18 01:42:44 +08:00
parent 2644be0505
commit 5d427cdea4
15 changed files with 316 additions and 29 deletions

10
app/Models/Discount.php Normal file
View File

@@ -0,0 +1,10 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Discount extends Model
{
protected $fillable = ['discount'];
}