@extends('admin.master') @section('title') Order @endsection @section('sideMenuTitle') Order Medicine @endsection @section('pageTitle') @endsection @section('bodyContent')
@if(Session::has('message'))

{{Session::get('message')}}

@endif @if(Session::has('error'))

{{Session::get('error')}}

@endif @if ($errors->any())
@endif

@if (!isset($editData)) {!! Form::open(['url' => 'order/', 'method' => 'post', 'name' => 'form', 'enctype' => 'multipart/form-data', 'role' => 'form']) !!} @endif
{{-- --}}
{!! Form::close() !!}
@foreach($products as $val) @if(!empty($val->discount)) @endif @if (empty($val->discount)) @endif @endforeach
# Name Image Price({{$settings->currency_symbol}}) QTY Discount
{{ $i++ }} {{$val->name}} no image {{$val->sellingPrice}} {{$val->discount->type == "fixed" ? $settings->currency_symbol : ""}}{{$val->discount->amount}}{{$val->discount->type == "percentage" ? "%" : ""}}0 Add To Cart
@endsection