@php $currnetYear = get_cols_where_row(new \App\FinancialCalendar(), array("is_open"), array("business_id" => auth()->user()->business_id, "finance_year" => $finance_year)); $counterOpenMonth = get_count_where(new \App\FinancialCalendarPeriod(), array("business_id" => auth()->user()->business_id, "is_open" => 1)); $counterPreviousMonthWatingOpen = \App\FinancialCalendarPeriod::where("business_id", "=", auth()->user()->business_id) ->where("finance_year", "=", $finance_year)->where("month_id", "<", $month_id)->where("is_open", "=", 0)->count(); @endphp @if($is_open==1) {{__('hr.opened')}} @elseif ($is_open==2) {{__('hr.archived')}} @else {{__('hr.waiting_for_open')}} @endif @if($is_open !=0) {{__('hr.show_month_data')}} @endif