mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Manifest and client routs
This commit is contained in:
parent
afc8537a2f
commit
ddb246c8b0
@ -72,6 +72,7 @@ class Company extends BaseModel
|
||||
];
|
||||
|
||||
protected $fillable = [
|
||||
'enabled_item_tax_rates',
|
||||
'fill_products',
|
||||
'industry_id',
|
||||
'subdomain',
|
||||
@ -192,7 +193,7 @@ class Company extends BaseModel
|
||||
|
||||
public function activities()
|
||||
{
|
||||
return $this->hasMany(Activity::class);
|
||||
return $this->hasMany(Activity::class)->orderBy('id', 'DESC')->take(300);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -6,6 +6,7 @@
|
||||
<meta name="report_errors" content="{{ $report_errors }}">
|
||||
<meta name="google-signin-client_id" content="{{ config('services.google.client_id') }}">
|
||||
<meta name="minimum_client_version" content="{{ config('ninja.minimum_client_version') }}">
|
||||
<link rel="manifest" href="manifest.json">
|
||||
</head>
|
||||
<body style="background-color:#888888;">
|
||||
|
||||
|
@ -49,7 +49,9 @@ Route::group(['middleware' => ['auth:contact','locale'], 'prefix' => 'client', '
|
||||
Route::resource('payment_methods', 'ClientPortal\PaymentMethodController');// name = (payment_methods. index / create / show / update / destroy / edit
|
||||
|
||||
Route::match(['GET', 'POST'], 'quotes/approve', 'ClientPortal\QuoteController@bulk')->name('quotes.bulk');
|
||||
Route::resource('quotes', 'ClientPortal\QuoteController')->only('index', 'show');
|
||||
Route::get('quotes', 'ClientPortal\QuoteController@index')->name('quotes.index')->middleware('portal_enabled');
|
||||
Route::get('quotes/{quote}', 'ClientPortal\QuoteController@show')->name('quote.show');
|
||||
Route::get('quotes/{quote_invitation}', 'ClientPortal\QuoteController@show')->name('quote.show_invitation');
|
||||
|
||||
Route::resource('credits', 'ClientPortal\CreditController')->only('index', 'show');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user