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

Button Booking

{{ Form::model($button,array('method' => 'post', 'route' => ['button.update', $button->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('button_size','Button Button Size: ') }} {{ Form::text('button_size',null,['class'=>'form-control','placeholder'=>'Button Button Size.']) }}

{{ Form::label('button_desc','Button Description: ') }} {{ Form::textarea('button_desc',null,['class'=>'form-control','placeholder'=>'Button Desc.']) }}

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


@php $num =0; @endphp @foreach($button->button_booking_details as $button_booking_detail) @php $num++; @endphp {{-- --}} @endforeach
Size Button Color Color Code Button Length Button Color Gmnts Qty With Percentage(%) Booking Qty. Remarks Action
{{--{{ Form::label('','Unit : ') }}--}} {{ Form::text('size'.$num,$button_booking_detail ? $button_booking_detail->size :null,['id'=>'size'.$num,'class'=>'form-control','placeholder'=>'Size']) }} @if($errors->has('size'.$num)) {{ $errors->first('size'.$num) }} @endif
{{--{{ Form::label('','Unit : ') }}--}} {{ Form::text('color_button'.$num,$button_booking_detail ? $button_booking_detail->color_button :null,['id'=>'color_button'.$num,'class'=>'form-control','placeholder'=>'Tape Color']) }} @if($errors->has('color_button'.$num)) {{ $errors->first('color_button'.$num) }} @endif
{{--{{ Form::label('','Unit : ') }}--}} {{ Form::text('color_code'.$num,$button_booking_detail ? $button_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::label('','Unit : ') }}--}} {{ Form::text('length'.$num,$button_booking_detail ? $button_booking_detail->length :null,['id'=>'length'.$num,'class'=>'form-control','placeholder'=>'Length']) }} @if($errors->has('length'.$num)) {{ $errors->first('length'.$num) }} @endif
{{ Form::text('button_color'.$num,$button_booking_detail ? $button_booking_detail->button_color :null,['id'=>'button_color'.$num,'class'=>'form-control','placeholder'=>'Select Color']) }} @if ($errors->has('button_color'.$num)) {{ $errors->first('button_color'.$num) }} @endif
{{--{{ Form::label('','Unit : ') }}--}} {{ Form::text('gmnts_qty'.$num,$button_booking_detail ? $button_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,$button_booking_detail ? $button_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,$button_booking_detail ? $button_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,$button_booking_detail ? $button_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