@extends('layouts/inventory_layout') @section('title', '| ' . $pageTitle) @section('content')
Edit Order
{!! Form::open(array('url' => '', 'role' => 'form', 'class'=>'form-horizontal form-groups', 'id' => 'editOrderForm')) !!}
{!! Form::hidden('order_id', $order->id, ['class' => 'form-control input-sm', 'id' => 'order_id']) !!}
{!! Form::label('billNo', 'Bill No:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('order_bill_no', $value = $ordBillNo, ['class' => 'form-control', 'id' => 'order_bill_no', 'type' => 'text','readonly','autocomplete'=>'off']) !!}

{!! Form::label('order_date', 'Date:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('order_date', date('d-m-Y',strtotime($order->order_date)), ['class' => 'form-control', 'id' => 'order_date','readonly','autocomplete'=>'off']) !!}

{{--
{!! Form::label('projectId', 'Project:', ['class' => 'col-sm-4 control-label']) !!}

{!! Form::label('projectTypeId', 'Project Type:', ['class' => 'col-sm-4 control-label']) !!}

--}}
{!! Form::label('from_branch_id', 'From Branch:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::select('from_branch_id', $fromBranches,$order->from_branch_id, ['class' => 'form-control custom-select2', 'id' => 'from_branch_id','placeholder' => 'Select Branch','required'=>'required','autocomplete'=>'off']) !!}

{!! Form::label('requisition_from_branch_id', 'Requisition From Branch:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::select('requisition_from_branch_id', $toBranches,null, ['class' => 'form-control custom-select2', 'id' => 'requisition_from_branch_id','placeholder' => 'Select Branch','autocomplete'=>'off']) !!}

{!! Form::label('supplier_id', 'Supplier:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::select('supplier_id', $suppliers,$order->to_supplier_id, ['class' => 'form-control custom-select2', 'id' => 'supplier_id','placeholder' => 'Select Supplier','required'=>'required','autocomplete'=>'off']) !!}

{!! Form::label('remarks', 'Remarks:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::textarea('remarks', $order->remarks, array('class'=>'form-control','rows'=>2, 'id' => 'remarks','placeholder' => 'Enter Remarks','autocomplete'=>'off')) !!}

{!! Form::label('total_quantity', 'Total Quantity:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('total_quantity', $order->total_quantity, ['class' => 'form-control numeric', 'id' => 'total_quantity', 'readonly','min'=>'0','autocomplete'=>'off']) !!}

{!! Form::label('group_id', 'Group:', ['class' => 'control-label col-sm-12']) !!}
{!! Form::label('category_id', 'Category:', ['class' => 'control-label col-sm-12']) !!}
{!! Form::label('sub_category_id', 'Subcatagory:', ['class' => 'control-label col-sm-12 ']) !!}
{!! Form::label('model_id', 'Model:', ['class' => 'control-label col-sm-12 ']) !!}
{{-- --}} @php $t_qty = 0; $t_price = 0; @endphp @foreach($order_details as $details) @php $t_qty += $details->quantity; @endphp @endforeach
Branch Name Barcode Product Name Model Name QtyPrice TotalRemove

Warning: Undefined variable $details in /home/shikkhaplus/public_html/demo_bk/resources/views/pos/transaction/requisitionForOrderToSupplier/order/editOrder_26-12-2024.blade.php on line 227

Warning: Attempt to read property "fromRequisitionBranch" on null in /home/shikkhaplus/public_html/demo_bk/resources/views/pos/transaction/requisitionForOrderToSupplier/order/editOrder_26-12-2024.blade.php on line 227

Warning: Attempt to read property "branchCode" on null in /home/shikkhaplus/public_html/demo_bk/resources/views/pos/transaction/requisitionForOrderToSupplier/order/editOrder_26-12-2024.blade.php on line 227

Warning: Undefined variable $details in /home/shikkhaplus/public_html/demo_bk/resources/views/pos/transaction/requisitionForOrderToSupplier/order/editOrder_26-12-2024.blade.php on line 227

Warning: Attempt to read property "fromRequisitionBranch" on null in /home/shikkhaplus/public_html/demo_bk/resources/views/pos/transaction/requisitionForOrderToSupplier/order/editOrder_26-12-2024.blade.php on line 227

Warning: Attempt to read property "name" on null in /home/shikkhaplus/public_html/demo_bk/resources/views/pos/transaction/requisitionForOrderToSupplier/order/editOrder_26-12-2024.blade.php on line 227
-
{{$details->productDetails->name}} {{$details->productDetails->model->name}}
Total Quantity {{$t_qty}}
{!! Form::label('update', ' ', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::submit('Update', ['id' => 'add', 'class' => 'btn btn-info']); !!} Close
{!! Form::close() !!}