@extends('layouts.app_rest') @section('content')
@php $bussiness = App\Models\Business::first(); @endphp
Food Calculation
image

@if(isset($bussiness)) @if(isset($bussiness->address)) {{$bussiness->address}} @endif @if(isset($bussiness->address_two)) , {{$bussiness->address_two}}
@endif @if(isset($bussiness->city)) {{$bussiness->city}}
@endif @if(isset($bussiness->country)) {{$bussiness->country}}
@endif @if(isset($bussiness->mobile)) {{$bussiness->mobile}} @endif @if(isset($bussiness->phone)) ,{{$bussiness->phone}} @endif @endif


Calculation For:
{{$facility['name'] ?? ''}}
@foreach($costCalculationProducts as $key => $cost) @endforeach
S.NO PRODUCT INGREDIANT QTY INGREDIANT Amt. WASTAGE QTY. WASTAGE Amt. TOTAL
{{ $key + 1 }} {{ $cost['product_name'] }} {{ $cost['qty'] }} ({{ $cost['relatedProductUnit'] }}) {{ $cost['intAmount'] }} {{ $cost['wastQty'] }} ({{ $cost['wastUnit'] }}) {{ $cost['wastAmount'] }} {{ $cost['total'] }}
Cook Instruction
{!! $facility['cooking_instruction'] !!}

Service Instruction
{!! $facility['service_instruction'] !!}
Ingredient Cost
Rs. {{ number_format($facility['ingredients_cost'], 2) }}
Waste Cost
Rs. {{ number_format($facility['wastage_cost'], 2) }}
Extra Cost
Rs. {{ number_format($facility['extra_cost'], 2) }}
Service Cost
Rs. {{ number_format($facility['service_cost'], 2) }}
Profit Margin
Rs. {{ number_format($facility['gross_profit'], 2) }}
Labour Cost
Rs. {{ number_format($facility['labour_cost'], 2) }}
Grand Total
Rs. {{ number_format($facility['selling_price'], 2) }}
@endsection @section('javascript') @endsection