1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-05 18:52:44 +01:00

Fixes for show recurring"

This commit is contained in:
David Bomba 2020-10-21 20:24:33 +11:00
parent f8411ad7c1
commit f0a08544d6
3 changed files with 2 additions and 3 deletions

View File

@ -51,7 +51,7 @@ class EntityViewedNotification extends Notification implements ShouldQueue
$this->entity = $invitation->{$entity_name};
$this->contact = $invitation->contact;
$this->company = $invitation->company;
$this->settings = $this->entity->client->getMergedSettings();
$this->settings = $invitation->contact->client->getMergedSettings();
$this->is_system = $is_system;
$this->invitation = $invitation;
$this->method = null;

View File

@ -51,7 +51,6 @@ class ProjectNameUniqueRemoval extends Migration
$table->decimal('rate', 16, 4)->default(0);
$table->renameColumn('task_status_id', 'status_id');
$table->renameColumn('task_status_sort_order', 'sort_order');
});
}

View File

@ -31,7 +31,7 @@ Route::group(['middleware' => ['auth:contact', 'locale'], 'prefix' => 'client',
Route::get('invoices/{invoice_invitation}', 'ClientPortal\InvoiceController@show')->name('invoice.show_invitation');
Route::get('recurring_invoices', 'ClientPortal\RecurringInvoiceController@index')->name('recurring_invoices.index')->middleware('portal_enabled');
Route::get('recurring_invoices/{recurring_invoice}', 'ClientPortal\RecurringInvoiceController@show')->name('recurring_invoice.show');
Route::get('recurring_invoices/{recurring_invoice}', 'ClientPortal\RecurringInvoiceController@show')->name('recurring_invoices.show');
Route::get('recurring_invoices/{recurring_invoice}/request_cancellation', 'ClientPortal\RecurringInvoiceController@requestCancellation')->name('recurring_invoices.request_cancellation');
Route::post('payments/process', 'ClientPortal\PaymentController@process')->name('payments.process');