@extends('provider.layout.app') @section('content')

Weekly Earnings

@foreach($weekly as $day) @endforeach
@if($day->created_at) {{date('Y-m-d',strtotime($day->created_at))}} - {{$day->created_at->diffForHumans()}} @else - @endif @if($day->payment != "") {{currency($current_sum)}} @endif

Estimated Payout

{{currency($sum_weekly)}}

@endsection @section('scripts') @endsection