@extends('admin.template.master') @section('title')

B2B Price Update

@endsection @section('main-content')

Entry

@if(Session::has('message'))
{{Session('message')}}
@endif {!! Form::open(['url' => '/admin/b2b-customers/b2b-price-update/'. $product->b2b_cust_query_product_id ]) !!}
{!! Form::label('b2b_qty','B2B Qty') !!} {!! Form::text('b2b_qty', $product->b2b_qty, ['class' => 'form-control', 'placeholder' => 'B2B Qty', 'id' => 'b2b_qty']) !!} @if ($errors->has('b2b_qty')) {!! $errors->first('b2b_qty') !!} @endif
{!! Form::label('b2b_req_price','B2B Req Price' ) !!} {!! Form::text('b2b_req_price', $product->b2b_req_price, ['class' => 'form-control', 'placeholder' => 'B2B Req Price', 'id' => 'b2b_req_price']) !!} @if ($errors->has('b2b_req_price')) {!! $errors->first('b2b_req_price') !!} @endif
{!! Form::label('b2b_exp_date','Order Before Date ') !!} @if ($errors->has('b2b_exp_date')) {!! $errors->first('b2b_exp_date') !!} @endif
{!! Form::close() !!}
{!! Form::label('from_date', 'From Date') !!} {!! Form::date('from_date', \Carbon\Carbon::now(), ['class' => 'form-control', 'id' => 'from_date']) !!}
{!! Form::label('to_date', 'To Date') !!} {!! Form::date('to_date', \Carbon\Carbon::now(), ['class' => 'form-control', 'id' => 'to_date']) !!}
{!! Form::label(' ') !!}
{!! Form::label('status', 'Status') !!} {!! Form::select('status', ['All'=>'All', 'Pending'=>'Query for Price', 'Processing'=>'Price Given', 'Done'=>'Order Done'], null , ['class' => 'form-control', 'style' => 'width: 180px;', 'id' => 'status']) !!}
{!! Form::button('Search',['class' => 'btn btn-primary btn-order-search', 'id'=> 'search_btn']) !!} {!! Form::button('Reset',['class' => 'btn btn-danger btn-order-search', 'id'=> 'reset_btn']) !!}
{{-- --}}
Order ID Query DateTime UD Org Name District City Customer No of Products Total (Query) Total Given(B2B) Remarks StatusAction DateTime Action
@php($given_date = date('Y-m-d')) @if($product->b2b_exp_date != "") @php($given_date = date('Y-m-d', strtotime($product->b2b_exp_date))) @else @php($given_date = date('Y-m-d')) @endif @endsection @section('javascripts') @endsection