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

Label Booking

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

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


@php $num =0; @endphp @foreach($label->label_booking_details as $label_booking_detail) @php $num++; @endphp @php $num ++ @endphp @endforeach
Label Details Color Upc Code Retail Price Size GMTS order Qty With Percentage(%) Booking Qty. Remarks Action
{{--{{ Form::label('','Unit : ') }}--}} {{ Form::text('desc'.$num,$label_booking_detail?$label_booking_detail->desc:null,['id'=>'desc'.$num,'class'=>'form-control','placeholder'=>'Details']) }} @if($errors->has('desc'.$num)) {{ $errors->first('desc'.$num) }} @endif
{{--{{ Form::label('','Unit : ') }}--}} {{ Form::text('color'.$num,$label_booking_detail?$label_booking_detail->color:null,['id'=>'color'.$num,'class'=>'form-control','placeholder'=>'Color']) }} @if($errors->has('color'.$num)) {{ $errors->first('color'.$num) }} @endif
{{--{{ Form::label('','Unit : ') }}--}} {{ Form::text('upc'.$num,$label_booking_detail?$label_booking_detail->upc:null,['id'=>'upc'.$num,'class'=>'form-control','placeholder'=>'Upc.']) }} @if($errors->has('upc'.$num)) {{ $errors->first('upc'.$num) }} @endif
{{--{{ Form::label('','Unit : ') }}--}} {{ Form::text('retail_price'.$num,$label_booking_detail?$label_booking_detail->retail_price:null,['id'=>'retail_price'.$num,'class'=>'form-control','placeholder'=>'Retail Price']) }} @if($errors->has('retail_price'.$num)) {{ $errors->first('retail_price'.$num) }} @endif
{{--{{ Form::label('','Unit : ') }}--}} {{ Form::text('size'.$num,$label_booking_detail?$label_booking_detail->size:null,['id'=>'size'.$num,'class'=>'form-control','placeholder'=>'Size']) }} @if($errors->has('size'.$num)) {{ $errors->first('size'.$num) }} @endif
{{ Form::text('gmnts_qty'.$num,$label_booking_detail?$label_booking_detail->gmnts_qty:null,['id'=>'gmnts_qty'.$num,'class'=>'form-control','placeholder'=>'Order Qty']) }} @if($errors->has('gmnts_qty'.$num)) {{ $errors->first('gmnts_qty'.$num) }} @endif
{{--{{ Form::label('','Unit : ') }}--}} {{ Form::text('percentage'.$num,$label_booking_detail?$label_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,$label_booking_detail?$label_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,$label_booking_detail?$label_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