@extends('main') @section('css') @endsection @section('content')

Add Owner

@csrf
@if($errors->has('email') ) {{ $errors->first('email') }} @endif
@if($errors->has('phone') ) {{ $errors->first('phone') }} @endif

Owners List

@foreach($vars['owners'] as $row) @endforeach
Name Registration Id Phone Action
{{ucfirst($row->name)}} {{ucfirst($row->registration_number) }} {{$row->id_number }} {{$row->phone }} {{--   |   --}}{{-- @if( Auth::user()->hasRole('admin') ||Auth::user()->hasRole('management') ||Auth::user()->hasRole('headmaster')) --}}{{-- --}}   |   {{-- @endif --}}
@include('owners/_edit'); @endsection @section('js') @endsection