1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 06:32:40 +01:00

fix class name

This commit is contained in:
karneaud 2024-06-24 14:27:26 -04:00
parent 33d989578f
commit 9fec96b513

View File

@ -5,7 +5,7 @@ namespace App\Providers;
use Illuminate\Support\Facades\Blade; use Illuminate\Support\Facades\Blade;
use Illuminate\Support\ServiceProvider as BaseProvider; use Illuminate\Support\ServiceProvider as BaseProvider;
class ServiceProvider extends BaseProvider class RotessaServiceProvider extends BaseProvider
{ {
protected string $moduleName = 'Rotessa'; protected string $moduleName = 'Rotessa';
@ -16,9 +16,7 @@ class ServiceProvider extends BaseProvider
*/ */
public function boot(): void public function boot(): void
{ {
include_once app_path('Http/ViewComposers/RotessaComposer.php');
include_once app_path('PaymentDrivers/Rotessa/vendor/autoload.php');
class_alias("App\\PaymentDrivers\\Rotessa\\PaymentMethod","App\\PaymentDrivers\\Rotessa\\BankTransfer"); class_alias("App\\PaymentDrivers\\Rotessa\\PaymentMethod","App\\PaymentDrivers\\Rotessa\\BankTransfer");
class_alias("App\\PaymentDrivers\\Rotessa\\PaymentMethod","App\\PaymentDrivers\\Rotessa\\Acss"); class_alias("App\\PaymentDrivers\\Rotessa\\PaymentMethod","App\\PaymentDrivers\\Rotessa\\Acss");