composer update && add warning text

This commit is contained in:
2024-11-21 23:16:36 +05:00
parent 8155038df8
commit 6e8f30a1b9
16 changed files with 695 additions and 450 deletions

View File

@@ -4,7 +4,6 @@ namespace App\Modules\SberPaymentOrder\Nova\Resources\Concerns;
use Illuminate\Auth\Access\AuthorizationException;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Gate;
trait NovaSberPaymentOrderAuth
{
@@ -21,7 +20,7 @@ trait NovaSberPaymentOrderAuth
return;
}
throw new AuthorizationException();
throw new AuthorizationException;
}
/** Edit button */
@@ -49,7 +48,7 @@ trait NovaSberPaymentOrderAuth
return;
}
throw new AuthorizationException();
throw new AuthorizationException;
}
/** Delete button */
@@ -73,7 +72,7 @@ trait NovaSberPaymentOrderAuth
return;
}
throw new AuthorizationException();
throw new AuthorizationException;
}
/** Force delete */

View File

@@ -20,7 +20,7 @@ trait VisaMasterAuth
return;
}
throw new AuthorizationException();
throw new AuthorizationException;
}
/** Edit button */
@@ -48,7 +48,7 @@ trait VisaMasterAuth
return;
}
throw new AuthorizationException();
throw new AuthorizationException;
}
/** Delete button */
@@ -72,7 +72,7 @@ trait VisaMasterAuth
return;
}
throw new AuthorizationException();
throw new AuthorizationException;
}
/** Force delete */

View File

@@ -0,0 +1,49 @@
<?php
namespace App\Modules\VisaMasterSettings\Controllers;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
class VisaMasterSettingsController extends Controller
{
/**
* Display a listing of the resource.
*/
public function index(Request $request): void
{
//
}
/**
* Store a newly created resource in storage.
*/
public function store(Request $request): void
{
//
}
/**
* Display the specified resource.
*/
public function show(Request $request): void
{
//
}
/**
* Update the specified resource in storage.
*/
public function update(Request $request): void
{
//
}
/**
* Remove the specified resource from storage.
*/
public function destroy(Request $request): void
{
//
}
}

View File

@@ -0,0 +1,30 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('visa_master_settings', function (Blueprint $table) {
$table->id();
$table->string('name')->unique();
$table->string('display_name');
$table->text('value');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('visa_master_settings');
}
};

View File

@@ -0,0 +1,11 @@
<?php
namespace App\Modules\VisaMasterSettings\Models;
use Illuminate\Database\Eloquent\Concerns\HasUuids;
use Illuminate\Database\Eloquent\Model;
class VisaMasterSettings extends Model
{
protected $table = 'visa_master_settings';
}

View File

@@ -0,0 +1,8 @@
<?php
namespace App\Modules\VisaMasterSettings\Repositories;
class VisaMasterSettingsRepository
{
}