create migration
This commit is contained in:
@@ -12,7 +12,7 @@ return new class extends Migration
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('mission_violations', function (Blueprint $table) {
|
||||
$table->foreignId('machine_id')->constrained('cmms_machines');
|
||||
$table->foreignId('machine_id')->nullable()->constrained('cmms_machines');
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -12,6 +12,14 @@
|
||||
@can('create-road-item')
|
||||
<a href="{{ route('v2.road_items.operator.create') }}" class="btn btn-default btn-block my-2">ثبت فعالیت روزانه</a>
|
||||
@endcan
|
||||
@canany(['manage-request-portal-city', 'manage-request-portal-province', 'manage-request-portal-country', 'manage-request-portal-station',
|
||||
'manage-transportation-unit-city', 'manage-transportation-unit-province', 'manage-transportation-unit-country', 'manage-transportation-unit-station',
|
||||
'manage-control-unit-city', 'manage-control-unit-province', 'manage-control-unit-country', 'manage-control-unit-station',
|
||||
])
|
||||
<a href="/v3/dashboard/" class="btn btn-default btn-block my-2">
|
||||
ماموریت
|
||||
</a>
|
||||
@endcan
|
||||
@can('add-road-patrol')
|
||||
<a href="{{ route('v2.road_patrols.operator.create') }}" class="btn btn-default btn-block my-2">ثبت گشت راهداری و ترابری</a>
|
||||
@endcan
|
||||
|
||||
Reference in New Issue
Block a user