Assigned Tickets

Create New IT Ticket +
.file-upload { display: flex; align-items: center; gap: 10px; margin-top: 6px } .btn-choose { background: #f8f9fa; border: 1px solid #ddd; padding: 8px 12px; border-radius: 6px; cursor: pointer } .buttons { grid-column: span 2; display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px } .btn-create-modal { background: #035fa6; color: #fff; border: 0; padding: 10px 16px; border-radius: 6px; cursor: pointer } .btn-reset { background: #f8f9fa; border: 1px solid #ccc; color: #333; padding: 8px 12px; border-radius: 6px; cursor: pointer } .small-plus { width: 40px; height: 40px; border-radius: 6px; display: inline-flex; justify-content: center; align-items: center; font-weight: 700; cursor: pointer } @media (max-width:768px) { .form-grid { grid-template-columns: 1fr } } .inline-row { display: flex; gap: 8px; align-items: center } .muted { color: #666; font-size: 13px }

Assigned Tickets

Create New IT Ticket +
Ticket No Assigned To Contact No Created Date Modified Date Time Around Time Modified User Action
{{-- Assigned To --}} {{-- TAT --}} {{-- STATUS --}} {{-- ACTIONS --}} @endforeach
Ticket No Assigned To Contact No Created Date Modified Date @if(in_array($role, [1, 2])) @php $technician_users = DB::table('users') ->whereIn('role', ['3', '6', '7']) ->where('user_id', $ticket->technician) ->get(); foreach($technician_users as $tech_user) { echo $tech_user->user_name; } @endphp @elseif(in_array($role, [3, 4, 5])) @php $technician_users = DB::table('users') ->where('role', '3') ->where('user_id', $ticket->technician) ->get(); foreach($technician_users as $tech_user) { echo $tech_user->user_name; } @endphp @elseif(in_array($role, [5, 6, 7])) @php $technician_users = DB::table('users') ->whereIn('role', ['6', '7']) ->where('user_id', $ticket->technician) ->get(); foreach($technician_users as $tech_user) { echo $tech_user->user_name; } @endphp @else {{ optional($technicians->get($ticket->technician))->user_name ?? '' }} @endif {{ $ticket->contact_number }} {{ $ticket->created_at }} {{ date('Y-m-d H:i:s', strtotime($ticket->updated_at)) }} @php $start = \Carbon\Carbon::parse($ticket->created_at); $end = \Carbon\Carbon::parse($ticket->updated_at); $days = $start->diffInDays($end); $hours = $start->diffInHours($end) % 24; $minutes = $start->diffInMinutes($end) % 60; $seconds = $start->diffInSeconds($end) % 60; @endphp {{ $days }} days - {{ $hours }}:{{ $minutes }}:{{ $seconds }} {{ $ticket->updated_by }} @if($ticket->issue_status == 1) Acknowledged @elseif($ticket->issue_status == 2) Return with query @elseif($ticket->issue_status == 3) Mark Resolved @elseif($ticket->issue_status == 4) Return @elseif($ticket->issue_status == 5) Cancel @endif @if($ticket->issue_status != 5) @if($role == 2) @endif @endif