From 6a127e3c5b0b94a8fb3656521681d7ac49905235 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Fri, 1 Mar 2024 10:34:05 +1100 Subject: [PATCH] Updates for document links --- app/Models/Document.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Models/Document.php b/app/Models/Document.php index 2c8948070ae0..896d3015a2de 100644 --- a/app/Models/Document.php +++ b/app/Models/Document.php @@ -223,6 +223,8 @@ class Document extends BaseModel 'App\Models\Payment' => $link = "/payments/{$entity_id}/edit", 'App\Models\Task' => $link = "/tasks/{$entity_id}/edit", 'App\Models\Client' => $link = "/clients/{$entity_id}", + 'App\Models\RecurringExpense' => $link = "/recurring_expenses/{$entity_id}/edit", + 'App\Models\RecurringInvoice' => $link = "/recurring_invoices/{$entity_id}/edit", default => $link = '', };