@extends('layouts.fixed') {{--Edit Other By Nishat--}} @section('title','WELL-GROUP | Other BOOKING') @section('content')

Other Booking

{{ Form::model($other,array('method' => 'post', 'route' => ['other.update', $other->id])) }}

{{ Form::label('to','To: ') }} {{ Form::text('to',null,['class'=>'form-control','placeholder'=>'To']) }}

{{ Form::label('attn','ATTN: ') }} {{ Form::text('attn',null,['class'=>'form-control','placeholder'=>'Attn']) }}

{{ Form::label('sub','Subject: ') }} {{ Form::text('sub',null,['class'=>'form-control','placeholder'=>'Sub']) }}

{{ Form::label('date','Date: ') }} {{ Form::date('date',null,['class'=>'form-control','placeholder'=>'Date']) }}

{{ Form::label('budget_sheet_id','Budget Sheet Style: ') }} {{ Form::select('budget_sheet_id',$budget_sheet_style,null,['class'=>'form-control','placeholder'=>'Select Style']) }}

{{ Form::label('item','Other Other Size: ') }} {{ Form::text('item',null,['class'=>'form-control','placeholder'=>'Item']) }}

{{ Form::label('other_desc','Other Description: ') }} {{ Form::textarea('other_desc',null,['class'=>'form-control','placeholder'=>'Description']) }}

{{ Form::label('buyer_name','Buyer Name: ') }} {{ Form::text('buyer_name',null,['class'=>'form-control','placeholder'=>'Buyer Name']) }}


{{-- --}} @php $num =0; @endphp @foreach($other->other_booking_details as $other_booking_detail) @php $num++; @endphp {{-- --}} {{-- --}} @endforeach
Size Other Color Color Code Other Length Other ColorItem Name Item Desc Gmnts Qty With Percentage(%) Booking Qty. Remarks Action
{{ Form::text('item'.$num,$other_booking_detail ? $other_booking_detail->item :null,['id'=>'item'.$num,'class'=>'form-control','placeholder'=>'Item Name']) }} @if($errors->has('item'.$num)) {{ $errors->first('item'.$num) }} @endif
{{ Form::text('description'.$num,$other_booking_detail ? $other_booking_detail->description :null,['id'=>'description'.$num,'class'=>'form-control','placeholder'=>'Item Desc']) }} @if($errors->has('description'.$num)) {{ $errors->first('description'.$num) }} @endif
{{ Form::text('size'.$num,$other_booking_detail ? $other_booking_detail->size :null,['id'=>'size'.$num,'class'=>'form-control','placeholder'=>'Size']) }} @if($errors->has('size'.$num)) {{ $errors->first('size'.$num) }} @endif
{{ Form::text('color_other'.$num,$other_booking_detail ? $other_booking_detail->color_other :null,['id'=>'color_other'.$num,'class'=>'form-control','placeholder'=>'Tape Color']) }} @if($errors->has('color_other'.$num)) {{ $errors->first('color_other'.$num) }} @endif
{{ Form::text('color_code'.$num,$other_booking_detail ? $other_booking_detail->color_code :null,['id'=>'color_code'.$num,'class'=>'form-control','placeholder'=>'Color Code']) }} @if($errors->has('color_code'.$num)) {{ $errors->first('color_code'.$num) }} @endif
{{ Form::text('length'.$num,$other_booking_detail ? $other_booking_detail->length :null,['id'=>'length'.$num,'class'=>'form-control','placeholder'=>'Length']) }} @if($errors->has('length'.$num)) {{ $errors->first('length'.$num) }} @endif
{{ Form::text('other_color'.$num,$other_booking_detail ? $other_booking_detail->other_color :null,['id'=>'other_color'.$num,'class'=>'form-control','placeholder'=>'Select Color']) }} @if ($errors->has('other_color'.$num)) {{ $errors->first('other_color'.$num) }} @endif
{{--{{ Form::label('','Unit : ') }}--}} {{ Form::text('gmnts_qty'.$num,$other_booking_detail ? $other_booking_detail->gmnts_qty :null,['id'=>'gmnts_qty'.$num,'class'=>'form-control','placeholder'=>'Gmnts Qty']) }} @if($errors->has('gmnts_qty'.$num)) {{ $errors->first('gmnts_qty'.$num) }} @endif
{{--{{ Form::label('','Unit : ') }}--}} {{ Form::text('percentage'.$num,$other_booking_detail ? $other_booking_detail->percentage :null,['id'=>'percentage'.$num,'onKeyup'=>'qty_calculate()','class'=>'form-control','placeholder'=>'Percentage']) }} @if($errors->has('percentage'.$num)) {{ $errors->first('percentage'.$num) }} @endif
{{--{{ Form::label('','Unit : ') }}--}} {{ Form::text('book_qty'.$num,$other_booking_detail ? $other_booking_detail->book_qty :null,['id'=>'book_qty'.$num,'class'=>'form-control','placeholder'=>'Book Qty']) }} @if($errors->has('book_qty'.$num)) {{ $errors->first('book_qty'.$num) }} @endif
{{--{{ Form::label('','Unit : ') }}--}} {{ Form::text('remarks'.$num,$other_booking_detail ? $other_booking_detail->remarks :null,['id'=>'remarks'.$num,'class'=>'form-control','placeholder'=>'Remarks']) }} @if($errors->has('remarks'.$num)) {{ $errors->first('remarks'.$num) }} @endif
{{ Form::button('',['class'=>'far fa-trash-alt btn btn-danger',"id"=>'remove','onclick'=>'remove()']) }} || {{ Form::button("",['class'=>'btn btn-primary far fa-plus-square','id'=>'add_more','onclick'=>'addRow()']) }}
{{ Form::button('SAVE ',['class'=>'far fa-save fa-3x btn btn-success','type'=>'submit']) }}
{{ Form::close() }}
@endsection @section('script') @stop