create migration
This commit is contained in:
@@ -12,7 +12,7 @@ return new class extends Migration
|
|||||||
public function up(): void
|
public function up(): void
|
||||||
{
|
{
|
||||||
Schema::table('mission_violations', function (Blueprint $table) {
|
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')
|
@can('create-road-item')
|
||||||
<a href="{{ route('v2.road_items.operator.create') }}" class="btn btn-default btn-block my-2">ثبت فعالیت روزانه</a>
|
<a href="{{ route('v2.road_items.operator.create') }}" class="btn btn-default btn-block my-2">ثبت فعالیت روزانه</a>
|
||||||
@endcan
|
@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')
|
@can('add-road-patrol')
|
||||||
<a href="{{ route('v2.road_patrols.operator.create') }}" class="btn btn-default btn-block my-2">ثبت گشت راهداری و ترابری</a>
|
<a href="{{ route('v2.road_patrols.operator.create') }}" class="btn btn-default btn-block my-2">ثبت گشت راهداری و ترابری</a>
|
||||||
@endcan
|
@endcan
|
||||||
|
|||||||
Reference in New Issue
Block a user