@extends('admin.layout') @section('content')

{{ trans('BOM') }}

@php $getUserRoleData = userRoleData(); $BOM = explode(",",$getUserRoleData->BOM); @endphp
@if(session()->has('message'))

{{ trans('labels.Successlabel') }}

{{ session()->get('message') }}
@endif @if(session()->has('error'))

{{ trans('labels.WarningLabel') }}

{{ session()->get('error') }}
@endif
{{ trans('labels.back') }} {{ trans('Save as PDF') }} @if(in_array("Edit", $BOM)) Edit @endif
@php $k = 1; @endphp @foreach($result['boms']->get_bom_details as $key) @php $k++; @endphp @endforeach
{{ $result['boms']['get_company_info']->name }}
{{ $result['boms']['get_company_info']->address }} @if(!empty($result['boms']['get_company_info']->address2)) , {{ $result['boms']['get_company_info']->address2 }} @endif {{ $result['boms']['get_company_info']->city }} , {{ $result['boms']['get_company_info']->province }} , {{ $result['boms']['get_company_info']->postal_code }} , {{ $result['boms']['get_company_info']->country }}
Ph: {{ $result['boms']['get_company_info']->phone_number }}, Email: {{ $result['boms']['get_company_info']->email_address }}
Format No. : {{ $result['boms']->format_no }}
Rev : {{ $result['boms']->rev_number }}
Date : {{ $result['boms']->date }}
Bill of Material
Mask Type {{$result['boms']->get_mask_type->name}} Client Name/Code {{$result['boms']->client_code}}
Mask Model No {{$result['boms']->get_mask_type->modal_no}} Date {{ date('d-m-Y', strtotime($result['boms']->bom_date))}}
S.no. Rhysley Part # Description Specification QTY Remarks
{{$k}} {{$key->part_no}} {{$key->specification}} {{$key->quantity}}



Prepared By
Verified BY
Approved By
{{$result['boms']->prepared_by}}
{{$result['boms']->verified_by}}
{{$result['boms']->approved_by}}
@endsection