@extends('admin.layout.master') @section('title',__('obs.'.$period_info['title'])) @section ('content')
@include('admin.layout.title_header', ['title'=>__('obs.'.$period_info['title'])]) @php $p_types=[12=>"Yearly",1=>"Monthly",6=>"Half yearly",4=>"Quarterly",3=>"3-Monthly",2=>"Bi-Monthly",7=>"Custom"]; $months=[1=>'January',2=>'February',3=>'March',4=>'April',5=>'May',6=>'June',7=>'July',8=>'August',9=>'September',10=>'October',11=>'November',12=>'December']; @endphp
@if($period_info['type']==1)
{{--
--}}
@csrf {{-- --}}
{{__('obs.period')}} {{__('obs.no')}} {{__('obs.start')}} {{__('obs.end')}} {{__('obs.name')}} {{__('obs.local')}} {{__('obs.action')}}Lock Close
@else
@php $i=0; @endphp @forelse ($periods as $p) @empty @endforelse
{{__('obs.period')}} {{__('obs.no')}} {{__('obs.start')}} {{__('obs.end')}} {{__('obs.name')}} {{__('obs.local')}} {{$period_info['type']==2?'Lock':'Close'}}
{{++$i}} {{-- --}} {{$p->start}} {{$p->end}} {{$p->name}} {{$p->local}}
is_lock)||(($period_info['type']==3) && $p->is_closed)) checked @endif onclick="updateLockOrCloseStatus(this,'{{$p->id}}','{{$period_info['type']}}')"/>
@endif
@include('accounts.accounts_settings.modal_accounts_ledger') @include('accounts.accounts_settings.modal_head_accounts_code') @endsection @section('script') @stop