@include('layouts.headerscript')
@include('layouts.navbar') @include('layouts.sidebar')
Dashboard
Home
Dashboard v1
Edit Action Type Transaction
@csrf @method('PUT') {{-- Action Name --}}
Action Name
{{-- Department --}}
Department
@foreach($departments as $dept)
department_id == $dept->id ? 'selected' : '' }}> {{ $dept->department_name }}
@endforeach
{{-- Bills To Cleints --}}
Bills To Cleints
has_bills == 0 ? 'selected' : '' }}>No
has_bills == 1 ? 'selected' : '' }}>Yes
{{-- Add Role --}}
Select Role
-- Select Role --
@foreach($roles as $role)
{{ $role->name }}
@endforeach
Add Role
{{-- Drag & Drop List --}}
Selected Roles (drag to rank)
@foreach($actionsTypeTransaction->role_ranks as $item) @php $role = \App\Models\Role::find($item['role_id']); @endphp @if($role)
{{ $role->name }}
Remove
@endif @endforeach
{{-- Where hidden inputs will go --}}
Draft
{{ old('draft', $actionsTypeTransaction->draft) }}
Update
{{-- JS for Sortable and Role Adding --}}
@include('layouts.footer')
@include('layouts.footerscript')