@extends('admin.layouts.app') @section('title', 'Stock') @section('content')
| Pump | Fuel type | Current stock | Add delivery | Correct stock | |
|---|---|---|---|---|---|
| {{ $pump->name }} |
{{ $pump->fuelType->name }}
Import: ៛{{ number_format($pump->fuelType->import_price_riel, 0) }}/L
|
@if ($pump->stock) {{ number_format($pump->stock->current_liters, 2) }}L @if ($pump->stock->isLow()) (low — below {{ number_format($pump->stock->low_stock_threshold, 0) }}L) @endif @else Not set up @endif | History |
Add delivery increases stock by the liters received, and automatically logs the cost as a Fuel purchase expense using each fuel's import price. Set import prices in Fuel types. Correct stock overwrites stock to an exact number, after a physical tank measurement.
@endsection