@extends('layouts.app') @section('title') All Registration No @stop @section('breadcrumb') @stop @section('content')
Search Registration No.
@permission('view-reg-no')   Add new Registration No @endpermission

All Registration Numbers

@permission('edit-reg-no') @else @endpermission @permission('delete-reg-no') @else @endpermission @foreach($allRegistrationNos as $number) @if($number->status == \App\RegistrationNo::open) @elseif($number->status == \App\RegistrationNo::reserved) @elseif($number->status == \App\RegistrationNo::sold) @elseif($number->status == \App\RegistrationNo::cancel) @elseif($number->status == \App\RegistrationNo::temp_hold) @endif @if($number->registration) @else @endif @endforeach
# Number Status Customer Action
{{$count++}} {{$number->number}}OpenReservedSoldCanceledTemporary Hold{{$number->registration->customer->name}} - {{$number->registration->customer->cnic}}{{$number->name}} - {{$number->cnic}} - {{$number->phone_number}} - {{$number->email}} @if($edit_reg) @endif @if($delete_reg) @endif
{{$allRegistrationNos->links()}}
@stop @section('js') @stop