@extends('main') @section('css') @endsection @section('content') Add Owner @csrf Name: Email: @if($errors->has('email') ) {{ $errors->first('email') }} @endif Phone: @if($errors->has('phone') ) {{ $errors->first('phone') }} @endif ID Number Address: Registration Number: Image: File: Owners List Name Registration Id Phone Action @foreach($vars['owners'] as $row) {{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 --}} @endforeach @include('owners/_edit'); @endsection @section('js') @endsection