@extends('layouts.app') @section('title', 'Job Costing #'.optional($job)->job_number) @section('breadcrumbs') @endsection @section('content')
{{ $job->customer->name ?? '' }} | {{ $job->shipment_number ?? '' }}
| Category | Description | Amount | % of Total |
|---|---|---|---|
| {{ $item->category ?? 'Other' }} | {{ $item->description ?? 'N/A' }} | {{ number_format($item->amount ?? 0, 2) }} | {{ $job->total_cost > 0 ? number_format(($item->amount / $job->total_cost) * 100, 1) : 0 }}% |
| No cost items | |||
| Revenue | ₹{{ number_format($job->total_revenue ?? 0, 2) }} |
| Direct Cost | -₹{{ number_format($job->direct_cost ?? 0, 2) }} |
| Gross Profit | ₹{{ number_format(($job->total_revenue ?? 0) - ($job->direct_cost ?? 0), 2) }} |
| Overhead ({{ $job->overhead_rate ?? 10 }}%) | -₹{{ number_format($job->overhead ?? 0, 2) }} |
| Net Profit | ₹{{ number_format($job->net_profit ?? 0, 2) }} |