From 63d5f427ad1fc67dbc5415f454c38d5b500ae8a0 Mon Sep 17 00:00:00 2001 From: Nisse Lommerde Date: Thu, 3 Apr 2025 11:57:49 -0400 Subject: [PATCH] #125: 'Add Payment' on List Invoice page modal is too wide --- README.md | 3 ++- app/Filament/Admin/Resources/InvoiceResource.php | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ebaa4e2..19f5113 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,8 @@ # Changelog **2025-03-04** -- Fixed #123 - Typo 'Add to product Services' +- Fixed #125 - 'Add Payment' on LIst Invoice page modal is too wide - Fixed #124 - Reorder button for product services is displayed on wrong side +- Fixed #123 - Typo 'Add to product Services' **2025-03-11** - Fixed #122 - Non-admins can see payments diff --git a/app/Filament/Admin/Resources/InvoiceResource.php b/app/Filament/Admin/Resources/InvoiceResource.php index 3c85f8f..7a3bc1c 100644 --- a/app/Filament/Admin/Resources/InvoiceResource.php +++ b/app/Filament/Admin/Resources/InvoiceResource.php @@ -249,6 +249,7 @@ public static function table(Table $table): Table BulkAction::make('Create Payment') ->icon(IconEnum::PAYMENTS->value) ->form(fn ($form) => PaymentResource::form($form)) + ->modalWidth('lg') ->action(function (Collection $records, array $data) { if ($records->pluck('customer_id')->unique()->count() !== 1) { Notification::make()