diff --git a/app/Models/Payment.php b/app/Models/Payment.php index 69c61e4..c529193 100644 --- a/app/Models/Payment.php +++ b/app/Models/Payment.php @@ -54,7 +54,7 @@ class Payment extends Model */ public function invoice(): BelongsTo { - return $this->belongsTo(Invoice::class); + return $this->belongsTo(Invoice::class)->with(['customer']); } } diff --git a/resources/views/invoice/index.blade.php b/resources/views/invoice/index.blade.php index 69590fa..f5ecc00 100644 --- a/resources/views/invoice/index.blade.php +++ b/resources/views/invoice/index.blade.php @@ -36,11 +36,23 @@

{{ __('invoice.Existing invoices') }}

-
- - - - +
+
+ + + + +
+
+ + +
@@ -53,7 +65,7 @@
{{ __('common.Created at') }}
-