@extends('layouts.promoter') @section('content')
id]) }}" enctype="multipart/form-data"> @method('PUT') @csrf
{{ trans('global.edit') }} Attendance Record
{{ trans('cruds.timeEntry.fields.id') }} {{ $timeEntry->id }}
{{ trans('cruds.timeEntry.fields.date') }} {{ $timeEntry->date ?? '' }}
{{ trans('cruds.timeEntry.fields.ptl_no') }} {{ $timeEntry->promoterTaskList ? $timeEntry->promoterTaskList->ptl_no : '' }}
{{ trans('cruds.timeEntry.fields.available_store') }} {{ $timeEntry->promoterTaskList->availableStore ? $timeEntry->promoterTaskList->availableStore->store_name : '' }}
{{ trans('cruds.timeEntry.fields.state') }} {{ $timeEntry->promoterTaskList->state ? $timeEntry->promoterTaskList->state->province_name : '' }}
{{ trans('cruds.timeEntry.fields.city') }} {{ $timeEntry->promoterTaskList->city ? $timeEntry->promoterTaskList->city->city_name : '' }}
{{ trans('cruds.timeEntry.fields.time_start') }} {{ $timeEntry->time_start }}
{{ trans('cruds.timeEntry.fields.time_end') }} {{ $timeEntry->time_end }}
{{ trans('global.edit') }} Product Entry Records
@forelse($timeEntry->productTimeEntries as $key => $productTimeEntry) @empty @endforelse
{{ trans('cruds.productTimeEntry.fields.product_name') }} {{ trans('cruds.productTimeEntry.fields.opening_qty') }} {{ trans('cruds.productTimeEntry.fields.sales_qty') }} {{ trans('cruds.productTimeEntry.fields.balance_qty') }}
{{ $productTimeEntry->product ? $productTimeEntry->product->product_name : '' }} @error('promoter-task-list-products.'.$key.'.o_qty')
{{ $message }}
@enderror
@error('promoter-task-list-products.'.$key.'.s_qty')
{{ $message }}
@enderror
@error('promoter-task-list-products.'.$key.'.b_qty')
{{ $message }}
@enderror
No product data available in table
@endsection @section('scripts') @endsection