@extends('layouts.admin') @section('content')
{{-- page Header --}} {{-- end Page header --}}
@include('partials.drivewayPartial')
{{ trans('global.edit') }} {{ trans('cruds.drivewaySheet.title_singular') }}
@php $fuellist = isset($fuelstock) && count($fuelstock) > 0 ? $fuelstock : $fuels; @endphp
@csrf
@if($errors->has('date'))
{{ $errors->first('date') }}
@endif {{ trans('cruds.drivewaySheet.fields.date_helper') }}
@foreach($fuels as $key => $fuel) @endforeach @foreach($drivesheet as $key => $data) @foreach($fuels as $id => $fuel) @endforeach @endforeach @foreach($fuellist as $id => $fuel) @endforeach
{{ trans('cruds.pump.fields.pump') }} {{ trans('cruds.drivewaySheet.fields.opening') }} {{ trans('cruds.drivewaySheet.fields.closing') }}{{ $fuel }}
@if($errors->first('pump_name'))
{{ $errors->first('pump_name') }}
@endif {{ trans('cruds.drivewaySheet.fields.pump_helper') }}
@if($errors->first('opening_balance'))
{{ $errors->first('opening_balance') }}
@endif {{ trans('cruds.drivewaySheet.fields.opening_balance') }}
@if($errors->first('closing_balance'))
{{ $errors->first('closing_balance') }}
@endif {{ trans('cruds.drivewaySheet.fields.closing_balance') }}
@if($errors->first('fuel_id'))
{{ $errors->first('fuel_id') }}
@endif
{{ trans('cruds.fuelStock.fields.computer_sale') }}
@if($errors->first('computer_sale'))
{{ $errors->first('computer_sale') }}
@endif {{ trans('cruds.fuelStock.fields.sale_helper') }}
{{ trans('global.edit') }} {{ trans('cruds.fuelStock.title_singular') }}
@foreach($fuellist as $key => $data) @endforeach
{{ trans('global.title') }} {{ trans('cruds.fuelStock.fields.opening_stock') }} {{ trans('cruds.fuelStock.fields.purchase') }} {{ trans('cruds.fuelStock.fields.calculated_stock') }} {{ trans('cruds.fuelStock.fields.closing_dips') }}
@if($errors->first('opening_stock'))
{{ $errors->first('opening_stock') }}
@endif {{ trans('cruds.fuelStock.fields.opening_stock_helper') }}
@if($errors->first('purchase'))
{{ $errors->first('purchase') }}
@endif {{ trans('cruds.fuelStock.fields.purchase_helper') }}
@if($errors->first('calculated_stock'))
{{ $errors->first('calculated_stock') }}
@endif {{ trans('cruds.fuelStock.fields.calculated_stock_helper') }}
@if($errors->first('closing_dips'))
{{ $errors->first('closing_dips') }}
@endif {{ trans('cruds.fuelStock.fields.closing_dips_helper') }}
{{-- --}}
@endsection @section('scripts') @endsection