@extends('user::layouts.master') @section('content')

Send Quotation

{{ Form::open(['route' => ['quotations.send.quotation.to.supplier', $quotation->id], 'method' => 'post']) }}

Send Quotation

{{ Form::label('supplier_ids', 'Suppliers') }}* {{ Form::select('supplier_ids[]', $suppliers, '', [ 'class' => "form-control select2-input supplier_ids", 'id' => "supplier_ids", 'data-live-search'=>'true', 'placeholder'=> 'Select suppliers', 'multiple'=> 'multiple' ]) }} @if($errors->has('supplier_ids.*')) {{ $errors->first('supplier_ids.*') }} @endif
Delivery Date: {{ $quotation->delivery_date }} Delivery Time: {{ $quotation->delivery_time }} Delivery Address: {{ $quotation->delivery_address }}
Area: {{ $quotation->mainActivity->area }} Level: {{ $quotation->mainActivity->level }} Sub Code: {{ $quotation->subActivity->sub_code }}
@if($quotation->materials->isNotEmpty()) @foreach($quotation->materials as $material) @endforeach @endif
Activity Code Activity Image Unit Quantity
{{ $material->activityOfMaterial->item_code }} {{ $material->activity }} @if(\Storage::disk('public')->has('quotations/'.$material->photo)) @else @endif {{ $material->unit }} {{ $material->quantity }}
Note: {{ $quotation->notes }}
{{ Form::close() }}
@stop