<fieldset>
    <div class="row">
        <div class="col-md-6">
            <div class="form-group">
                <label for="wash_name">
                    Wash Name
                </label>
                <input type="text" class="form-control " id="wash_name" name="wash_name" value="{{old('wash_name')}}">
            </div>
        </div>
        <div class="col-md-12">
            <div class="form-group">
                <fieldset class="form-label-group">
                    <textarea class="form-control " id="wash_desc" name="wash_desc" rows="3" placeholder="Wash Description">{{old('wash_desc')}}</textarea>
                </fieldset>    
            </div>
        </div>
        <div class="col-md-12">
            <div class="form-group body_types">
                <label for="body_type">
                    Please enter prices on body types/sizes that suit your business, you can leave blank on those that do not apply to your business. Amount must be numbers only no currency symbols.
                </label>
                <label for="body_type">
                    Car Wash Price
                </label>
                @if(isset($bodyTypeOfOwner) && !empty($bodyTypeOfOwner) && count($bodyTypeOfOwner))
                    @foreach($bodyTypeOfOwner as $c)
                        <input type="hidden" name="body_type_id[]" value="{{$c['id']}}">
                        <input type="text" class="form-control " id="body_type_name" name="body_type_name[]" value="{{$c['name']}}" readonly>
                        <input type="text" class="form-control " id="price" name="price[]" value="" placeholder="Price">
                        <!-- <input type="text" class="form-control " id="duration" name="duration[]" value="" placeholder="Duration in minute"> -->
                    @endforeach
                @endif
                <!-- <label for="body_type">
                    General Services
                </label> -->
                @if(isset($bodyType) && !empty($bodyType) && count($bodyType))
                    @foreach($bodyType as $c)
                        <input type="hidden" name="body_type_id[]" value="{{$c['id']}}">
                        <input type="text" class="form-control " id="body_type_name" name="body_type_name[]" value="{{$c['name']}}" readonly>
                        <input type="text" class="form-control " id="price" name="price[]" value="" placeholder="Price">
                        <!-- <input type="text" class="form-control " id="duration" name="duration[]" value="" placeholder="Duration in minute"> -->
                    @endforeach
                @endif
            </div>
        </div>
        
        <div class="col-md-6">
            <div class="form-group">
                <label for="is_active">
                    Status
                </label>
                <select name="is_active" class="form-control">
                    <option value="1">Active</option>
                    <option value="0">Inactive</option>
                </select>


            </div>
        </div>
        <div class="col-md-6 offset-md-4">
            <button type="submit" class="btn btn-primary mr-1 mb-1">Save</button>
            <a class="btn btn-outline-warning mr-1 mb-1" href="{{ route('owner.wc.list') }}">Back</a>
        </div>
    </div>
</fieldset>
