@extends('layouts.admin.master') @section('title', !empty($price_range) ? 'Edit Price Range' : 'Add Price Range') @section('content') @include('layouts.admin.flash.alert')

Manage Price Ranges Here you can {{ !empty($price_range) ? 'edit' : 'add' }} Price Range

{{ Breadcrumbs::render('common',['append' => [['label'=> $getController,'route'=> 'admin.categories'],['label' => !empty($price_range) ? 'Edit Price Range' : 'Add Price Range' ]]]) }}

{{ !empty($price_range) ? 'Edit Price Range' : 'Add Price Range' }}

Back
@if(isset($price_range)) {{ Form::model($price_range, ['url' => url('admin/price-ranges/update', $price_range->id), 'method' => 'patch']) }} @else {{ Form::open(['url' => url('admin/price-ranges/store')]) }} @endif
{{ Form::text('title', old('title'), ['class' => 'form-control','placeholder' => 'Title']) }} @if($errors->has('title')) {{ $errors->first('title') }} @endif
{{ Form::number('min', old('min'), ['class' => 'form-control','placeholder' => 'Min','min'=>0]) }} @if($errors->has('min')) {{ $errors->first('min') }} @endif
{{ Form::number('max', old('max'), ['class' => 'form-control','placeholder' => 'Max','min'=>0]) }} @if($errors->has('max')) {{ $errors->first('max') }} @endif
{{ Form::select('status', [1 => 'Active', 0 => 'Inactive'], old("status"), ['class' => 'form-control']) }}
{{ Form::close() }}
@stop