@extends('layouts.app') @section('title', 'Income Statement') @section('content')

Income Statement


   


@if(isset($data['record']) && $data['record']) Report generated based on all the orders that are marked with status "Complete".
Income Statement
From {{ $data['from_date'] }} to {{ $data['to_date'] }}
@foreach($data['record'] as $row) @endforeach
Sales Revenue
{{ $row->service->name }} {{ format_money($row->amount) }}
Total {{ format_money($data['total_revenue']) }}
(-) Expenses
Payments to staffs {{ format_money($data['total_expense']) }}
Total {{ format_money($data['total_expense']) }}
Net Income {{ format_money($data['income']) }}
@endif @if((!isset($data['record'])) && request('type') == 'requested')
No record found
@endif
@endsection @push('scripts') @endpush