@extends('Component.layout') @section('title', 'My Support Tickets - Iqra Parent Portal') @section('breadcrumb', 'Support Tickets') @section('content')

Support Tickets

Communicate directly with your child's Class Teacher

New Ticket
@if(session('success'))
{{ session('success') }}
@endif
@if($tickets->count() > 0)
@foreach($tickets as $ticket) @endforeach
Subject Status Date Action
{{ $ticket->subject }}
Ticket #{{ str_pad($ticket->id, 5, '0', STR_PAD_LEFT) }}
@if($ticket->status === 'open') Open @elseif($ticket->status === 'resolved') Answered @elseif($ticket->status === 'closed') Closed @endif
{{ $ticket->created_at->format('M d, Y') }}
{{ $ticket->created_at->format('h:i A') }}
@else

No Tickets Found

You haven't generated any support tickets yet.

Generate Ticket
@endif
@endsection