Change namespace

This commit is contained in:
Darko Gjorgjijoski
2024-01-27 23:53:20 +01:00
parent aef8b228b8
commit 6b80b5f48d
550 changed files with 3398 additions and 3278 deletions

View File

@@ -1,16 +1,16 @@
<?php
use Crater\Models\Customer;
use Crater\Models\CustomField;
use Crater\Models\Estimate;
use Crater\Models\ExchangeRateProvider;
use Crater\Models\Expense;
use Crater\Models\Invoice;
use Crater\Models\Item;
use Crater\Models\Note;
use Crater\Models\Payment;
use Crater\Models\RecurringInvoice;
use Crater\Models\TaxType;
use InvoiceShelf\Models\Customer;
use InvoiceShelf\Models\CustomField;
use InvoiceShelf\Models\Estimate;
use InvoiceShelf\Models\ExchangeRateProvider;
use InvoiceShelf\Models\Expense;
use InvoiceShelf\Models\Invoice;
use InvoiceShelf\Models\Item;
use InvoiceShelf\Models\Note;
use InvoiceShelf\Models\Payment;
use InvoiceShelf\Models\RecurringInvoice;
use InvoiceShelf\Models\TaxType;
return [
'abilities' => [

View File

@@ -162,13 +162,13 @@ return [
/*
* Application Service Providers...
*/
Crater\Providers\AppServiceProvider::class,
Crater\Providers\AuthServiceProvider::class,
Crater\Providers\BroadcastServiceProvider::class,
Crater\Providers\EventServiceProvider::class,
Crater\Providers\RouteServiceProvider::class,
Crater\Providers\DropboxServiceProvider::class,
Crater\Providers\ViewServiceProvider::class,
InvoiceShelf\Providers\AppServiceProvider::class,
InvoiceShelf\Providers\AuthServiceProvider::class,
InvoiceShelf\Providers\BroadcastServiceProvider::class,
InvoiceShelf\Providers\EventServiceProvider::class,
InvoiceShelf\Providers\RouteServiceProvider::class,
InvoiceShelf\Providers\DropboxServiceProvider::class,
InvoiceShelf\Providers\ViewServiceProvider::class,
Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class,
],

View File

@@ -74,12 +74,12 @@ return [
'providers' => [
'users' => [
'driver' => 'eloquent',
'model' => \Crater\Models\User::class,
'model' => \InvoiceShelf\Models\User::class,
],
'customers' => [
'driver' => 'eloquent',
'model' => \Crater\Models\Customer::class,
'model' => \InvoiceShelf\Models\Customer::class,
],
],

View File

@@ -1,16 +1,16 @@
<?php
use Crater\Models\Customer;
use Crater\Models\CustomField;
use Crater\Models\Estimate;
use Crater\Models\ExchangeRateProvider;
use Crater\Models\Expense;
use Crater\Models\Invoice;
use Crater\Models\Item;
use Crater\Models\Note;
use Crater\Models\Payment;
use Crater\Models\RecurringInvoice;
use Crater\Models\TaxType;
use InvoiceShelf\Models\Customer;
use InvoiceShelf\Models\CustomField;
use InvoiceShelf\Models\Estimate;
use InvoiceShelf\Models\ExchangeRateProvider;
use InvoiceShelf\Models\Expense;
use InvoiceShelf\Models\Invoice;
use InvoiceShelf\Models\Item;
use InvoiceShelf\Models\Note;
use InvoiceShelf\Models\Payment;
use InvoiceShelf\Models\RecurringInvoice;
use InvoiceShelf\Models\TaxType;
return [

View File

@@ -9,12 +9,12 @@
* @see https://github.com/vinkla/laravel-hashids
*/
use Crater\Models\Company;
use Crater\Models\EmailLog;
use Crater\Models\Estimate;
use Crater\Models\Invoice;
use Crater\Models\Payment;
use Crater\Models\Transaction;
use InvoiceShelf\Models\Company;
use InvoiceShelf\Models\EmailLog;
use InvoiceShelf\Models\Estimate;
use InvoiceShelf\Models\Invoice;
use InvoiceShelf\Models\Payment;
use InvoiceShelf\Models\Transaction;
return [

View File

@@ -83,7 +83,7 @@ return [
/*
* The class that contains the strategy for determining a media file's path.
*/
'path_generator' => \Crater\Generators\CustomPathGenerator::class,
'path_generator' => \InvoiceShelf\Generators\CustomPathGenerator::class,
/*
* When urls to files get generated, this class will be called. Use the default

View File

@@ -40,8 +40,8 @@ return [
*/
'middleware' => [
'verify_csrf_token' => Crater\Http\Middleware\VerifyCsrfToken::class,
'encrypt_cookies' => Crater\Http\Middleware\EncryptCookies::class,
'verify_csrf_token' => InvoiceShelf\Http\Middleware\VerifyCsrfToken::class,
'encrypt_cookies' => InvoiceShelf\Http\Middleware\EncryptCookies::class,
],
];

View File

@@ -35,7 +35,7 @@ return [
],
'stripe' => [
'model' => \Crater\Models\User::class,
'model' => \InvoiceShelf\Models\User::class,
'key' => env('STRIPE_KEY'),
'secret' => env('STRIPE_SECRET'),
'webhook' => [