feat(services): partial/unpaid payment on admin create, payment history per invoice, zip attachments

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
baodev0
2026-10-22 22:22:09 +07:00
co-authored by Claude Opus 5.5
parent 02daefe4c2
commit fe68171aa7
15 changed files with 281 additions and 40 deletions
@@ -76,6 +76,8 @@ class OrderResource extends JsonResource
'url' => $attachment->url,
'mime_type' => $attachment->mime_type,
'size' => $attachment->size,
'uploaded_by' => $attachment->uploaded_by,
'created_at' => $attachment->created_at,
])
: [],
// Which service(s)/product(s) this invoice actually bills for — without this,