TNA List

@php $marchent_buyer_assigns = App\Models\BuyerAssign::where('user_id', auth()->user()->id) ->where('buyer_id', 11) ->count(); // dd($marchent_buyer_assigns ) @endphp @if ($marchent_buyer_assigns > 0 || auth()->user()->id == 1 || auth()->user()->role_id == 4) @endif @php $marchent_buyer_assigns_COTTON_ROSE = App\Models\BuyerAssign::where( 'user_id', auth()->user()->id, ) ->where('buyer_id', 7) ->count(); $marchent_buyer_assigns_COTTON_ROSE_Hasan = App\Models\BuyerAssign::where( 'user_id', auth()->user()->id, ) ->where('buyer_id', 10021) ->count(); // dd($marchent_buyer_assigns_COTTON_ROSE ) @endphp @if ( $marchent_buyer_assigns_COTTON_ROSE > 0 || auth()->user()->id == 1 || auth()->user()->role_id == 4 || $marchent_buyer_assigns_COTTON_ROSE_Hasan > 0) @endif TNA Dashboard {{-- tnas_dashboard_new --}} TNA Dashboard New @can('TNA-CURD') Add TNA @endcan
@if (session('message'))
× {{ session('message') }}.
@endif
{{-- --}} {{-- --}} @if (auth()->user()->role_id == 4 || auth()->user()->role_id == 1) @endif @forelse ($tnas as $tna) {{-- @dd($tna) --}} {{-- --}} @if (auth()->user()->role_id == 4 || auth()->user()->role_id == 1) @endif {{-- --}} @empty @endforelse
Buyer Style PO Number ItemColor PictureTotal Qty PO Date Shipment DateLead DaysUpdate DateAction
{{ $tna->buyer }} {{ $tna->style }} {{ $tna->po }} {{ $tna->item }}{{ $tna->color }} Picture{{ $tna->qty_pcs }} {{ $tna->po_receive_date }} {{ $tna->shipment_etd }}{{ $tna->updated_at->diffForHumans() }}{{ $tna->total_lead_time }} show @if ($tna->buyer_id == 11) Copy @endif @can('TNA-CURD') Edit @if (auth()->user()->role_id == 4 || auth()->user()->role_id == 1) Plan @endif @can('TNA-Factory') {{-- @if ($tna->cutting_plan == null) @endif @if ($tna->cutting_actual == null) @endif --}} @endif
@csrf
@if (auth()->user()->role_id == 4 || auth()->user()->role_id == 1) {{-- @if (auth()->user()->email == 'shakib@ntg.com.bd')
@csrf @method('DELETE')
@else --}}
@csrf @method('DELETE')
{{-- @endif --}} @endif @endcan
No TNA Found
{{-- @php $old_data = json_encode($tnas); @endphp --}}