@extends('layouts.erp_theme_01') @section('content')

Welcome to SamatonERP!

Easily create and manage bills for your shop business.

Create Order View Orders

{{ ( $sales_stat->amount_received > 0 ? $sales_stat->amount_received : 0.00 ) }}

Total Amount

@if( !isset($sales_states) ) @else
@if (session('err_msg_right'))
{{ session('err_msg_right') }}
@endif @if(isset($projects) && count($projects) > 0) @foreach($projects as $item) @php $total_expense = 0; @endphp @foreach($expenses as $expense) @if( $item->id ==$expense->project_id) @php $total_expense +=$expense->amount; @endphp @endif @endforeach

{{ $item->project_name }} @switch($item->current_status ) @case('new' ) New @break @case( 'active' ) Active @break @case( 'paused' ) Paused @break @endswitch


Started from {{ date('m-d-Y', strtotime($item->start_date)) }} at {{ $item->location_name }}

Budget
{{ $item->estimated_budget }} ₹
Balance
{{ $item->estimated_budget - $total_expense}} ₹
@endforeach @endif
@endif @endsection @section('script') @endsection