@extends('layouts.admin') @section('content')
{{ trans('global.edit') }} {{ trans('cruds.sheelCard.title') }}
@method('PUT') @csrf
@if($errors->has('date'))
{{ $errors->first('date') }}
@endif {{ trans('cruds.sheelCard.fields.date_helper') }}
@if($errors->has('type'))
{{ $errors->first('type') }}
@endif {{ trans('cruds.sheelCard.fields.type_helper') }}
@foreach ($fuel as $val) @endforeach @foreach ($sheel_card as $key1 => $sc) @foreach ($fuel as $key => $val) @endforeach @endforeach @foreach ($fuel as $key => $value) @endforeach
{{ trans('cruds.sheelCard.fields.ticket_no') }} {{ trans('cruds.sheelCard.fields.card_no') }}{{$val}}
@php $c = 0; @endphp @foreach ($sc->sub_shell_card as $sub_sc) @if ($key == $sub_sc->fuel_id && $sub_sc->quantity != null)
@php $c++; @endphp @endif @endforeach @if($c == 0)
@endif
@if($key1 != 0) @can('sheel_card_delete') @endcan @endif
@endsection @section('scripts') @endsection