@extends('layouts.master') @section('title', 'Follow up | Proxima - Medical Management app') @section('title-topbar', __('basic.op follow up')) @section('css') @endsection @section('content')
Filter
@if (!empty($operation_today)) @foreach ($operation_today as $item) @php $today = date('d-m-Y'); $day3 = \Carbon\Carbon::parse($item->start_at) ->addDays(3) ->format('d-m-Y'); $day5 = \Carbon\Carbon::parse($item->start_at) ->addDays(5) ->format('d-m-Y'); $week1 = \Carbon\Carbon::parse($item->start_at) ->addWeeks(1) ->format('d-m-Y'); $week2 = \Carbon\Carbon::parse($item->start_at) ->addWeeks(2) ->format('d-m-Y'); $month1 = \Carbon\Carbon::parse($item->start_at) ->addMonths(1) ->format('d-m-Y'); $month2 = \Carbon\Carbon::parse($item->start_at) ->addMonths(2) ->format('d-m-Y'); $month3 = \Carbon\Carbon::parse($item->start_at) ->addMonths(3) ->format('d-m-Y'); $month6 = \Carbon\Carbon::parse($item->start_at) ->addMonths(6) ->format('d-m-Y'); @endphp @if ($today == $day3 && $item->day_3 == null) @elseif ($today == $day5 && $item->day_5 == null) @elseif ($today == $week1 && $item->week_1 == null) @elseif ($today == $week2 && $item->week_2 == null) @elseif ($today == $month1 && $item->month_1 == null) @elseif ($today == $month2 && $item->month_2 == null) @elseif ($today == $month3 && $item->month_3 == null) @elseif ($today == $month6 && $item->month_6 == null) @else

Sorry, No Today Op Follow Up

@endif @endforeach @else

Sorry, No Op Follow up to show

@endif
{{ $operation_today->appends(request()->input())->links() }}
@endsection @section('js') @endsection