@extends('layouts.index') @section('title') Detail Verification Procurement @endsection @section('css') @endsection @section('content')

Detail Verification Procurement

Detail Verification Procurement

@if (Storage::exists($procurement->requested_by_data->foto)) flexy @else flexy @endif
Requested by
{{ $procurement->requested_by_data->nama_lengkap }}
{{ $procurement->requested_by_data->jabatan->nama }}
Application Date

{{ Carbon\Carbon::parse($procurement->application_date)->format('d F Y') }}

Needed for Date

{{ Carbon\Carbon::parse($procurement->needed_for_date)->format('d F Y') }}

Purpose of Request

{{ $procurement->purpose }}

flexy
Acknowledged
{{ $procurement->acknowledged_by_data->nama_lengkap }}
{{ $procurement->requested_by_data->jabatan->nama }}
flexy
Approved By
{{ $procurement->approved_by_data->nama_lengkap }}
{{ $procurement->requested_by_data->jabatan->nama }}
@csrf @method("PUT")
@foreach($procurement->procurement_asset_only_approved as $item)
Detail of Asset
Approved by Team Procurement
Name of Asset

{{ $item->asset_name }}

Brand

{{ $item->brand }}

Specification

{{ $item->specification }}

Qty

{{ $item->qty }}

Vendor Recomendation

{{ $item->vendor_recomendation }}

Procurement By Team
@if($item->status == 'rejected')
Reason of Rejection

{{ isset($item->reject_reason) && $item->reject_reason != "" ? $item->reject_reason : '-' }}

@else @php $increment = 1; @endphp
No Brand Rekom Specification Unit Price Total Vendor Attach Invoice
1 {{ isset($item->procuremenmt_asset_by_team->brand) ? $item->procuremenmt_asset_by_team->brand : '-' }} {{ isset($item->procuremenmt_asset_by_team->specification) ? $item->procuremenmt_asset_by_team->specification : '-' }} {{ isset($item->procuremenmt_asset_by_team->qty) ? $item->procuremenmt_asset_by_team->qty : '-' }} {{ isset($item->procuremenmt_asset_by_team->price) ? number_format($item->procuremenmt_asset_by_team->price, 0, ',', '.') : '-' }} {{ isset($item->procuremenmt_asset_by_team->total) ? number_format($item->procuremenmt_asset_by_team->total, 0, ',', '.') : '-'}} {{ isset($item->procuremenmt_asset_by_team->vendor_recomendation) ? $item->procuremenmt_asset_by_team->vendor_recomendation : '-' }} @if (isset($item->procuremenmt_asset_by_team->attachment_invoice) && $item->procuremenmt_asset_by_team->attachment_invoice != '') Invoice @else - @endif
@endif
@endforeach
status_verification == 'approved' ? 'checked' : '' }} value="approved" type="checkbox" id="approveButton2" dynamic-id="2" onchange="approveSwitch(this)" />
status_verification == 'rejected' ? 'checked' : '' }} value="rejected" dynamic-id="2" onchange="rejectSwitch(this)" />
status_verification == 'rejected') style="display: none;" @elseif($procurement->status_verification == 'approved') style="display: block;" @else style="display: block;" @endif>
Note Procurement
status_verification == 'rejected') style="display: block;" @else style="display: none;" @endif>
Reason of Rejection
Back
@endsection @section('js') @endsection