@extends('layouts.admin')
@section('title', 'New fix task')
@section('heading', 'New fix task')
@section('breadcrumb')
Create a fix task for a customer
Assign the work in order. Each person can approve, view, or edit. They can also reject and send it back with a document, or escalate it to someone else when their role allows it.
@endsection
@push('scripts')
@php
$workflowUsers = $users->map(function ($user) {
return [
'id' => $user->id,
'name' => $user->name,
'role_id' => $user->role_id,
'role' => $user->role->name ?? '',
];
})->values();
$workflowRoles = $roles->map(function ($role) {
return ['id' => $role->id, 'name' => $role->name];
})->values();
@endphp
@endpush