@extends('layouts.master') @section('content')

Settings

Discount Settings

@csrf
@if (!empty($success))

{{$success}}

@endif

Discount Settings

where('setting_type','discount')->first()->value == 1 ? 'checked':''}} class="custom-control-input" type="radio" name="discount" id="discount-1" value="1">
where('setting_type','discount')->first()->value == 2 ? 'checked':''}} class="custom-control-input" type="radio" name="discount" id="discount-2" value="2">
where('setting_type','discount')->first()->value == 3 ? 'checked':''}} class="custom-control-input" type="radio" name="discount" id="discount-3" value="3">

Bill Format Settings

where('setting_type','bill_format')->first()->value == 0 ? 'checked':''}} class="custom-control-input" type="radio" name="bill_format" id="bill_format-0" value="0">
where('setting_type','bill_format')->first()->value == 1 ? 'checked':''}} class="custom-control-input" type="radio" name="bill_format" id="bill_format-1" value="1">

Show Tax Field ON Bill Settings

where('setting_type','show_tax')->first()->value == 0 ? 'checked':''}} class="custom-control-input" type="radio" name="show_tax" id="show_tax-0" value="0">
where('setting_type','show_tax')->first()->value == 1 ? 'checked':''}} class="custom-control-input" type="radio" name="show_tax" id="show_tax-1" value="1">

Dsr Format Settings

where('setting_type','dsr_format')->first()->value == 1 ? 'checked':''}} class="custom-control-input" type="radio" name="dsr_format" id="dsr_format-1" value="1">
where('setting_type','dsr_format')->first()->value == 2 ? 'checked':''}} class="custom-control-input" type="radio" name="dsr_format" id="dsr_format-2" value="2">
@endsection