@extends('layouts.master') @section('title', 'Financial year | Alboosh - Timeless authenticity, born of the desert') @section('title-topbar', __('basic.financial years')) @section('css') @endsection @section('fixedcontent') @if (Session::has('success'))

Sent Successfully

{{ Session::get('success') }}

@endif @endsection @section('content')
{{ __('basic.dashboard') }} | {{ __('basic.financial years') }} @if($periods_count == 0) @endif
{{ __('basic.financial years') }}
@foreach ($resource as $item) @endforeach
{{ __('basic.status') }} {{ __('basic.name') }} {{ __('basic.start') }} {{ __('basic.end') }} {{ __('basic.branch') }} {{ __('basic.handle') }}
@if($item->status == 1) @php $status_text = __('basic.open'); $status_color = "text-green"; @endphp @else @php $status_text = __('basic.closed'); $status_color = "text-gray-400"; @endphp @endif
{{ $status_text }}
{{ $item->name }} {{ $item->start_date }} {{ $item->end_date }} {{ $item->branch->name }} @role('Super-admin|Branch-manager|Accountant-manager') {{ __('basic.edit') }} @if($item->status == 1) {{ __('basic.close') }} @endif @endrole
@endsection @section('js') @endsection