@extends('layouts.admin') @section('ext_css') @endsection @section('content')
@if(session('success'))
Success ! {!! Session::get('success') !!}
@elseif(session('failure'))
Failed ! {{ Session::get('failure') }}
@endif

Generate Bills ({{ $setting->billing_type == 'flat' ? 'Flat' : 'Per Hit' }}) * Required Fields

@if($setting->billing_type == 'per_hit')
* {{ $errors->first('category')}}
{{ $errors->first('sub_category')}}
{{ $errors->first('merchant')}}
*
{{ $errors->first('eng_from_date')}}
{{ $errors->first('eng_to_date')}}
*
{{ $errors->first('nep_from_date')}}
{{ $errors->first('nep_to_date')}}
@csrf
{{----}}
@else
* {{ $errors->first('category')}}
{{ $errors->first('sub_category')}}
{{ $errors->first('merchant')}}
@if($current_flat_pricing && $current_flat_pricing == 1)
@else
@endif * {{ $errors->first('name')}}
@if($current_flat_pricing == 5)
*
@elseif($current_flat_pricing == 4)
*
@elseif($current_flat_pricing == 3)
*
@elseif($current_flat_pricing == 2)
*
@elseif($current_flat_pricing == 1)
* {{ $errors->first('weekStartDate')}}
* {{ $errors->first('weekEndDate')}}
@endif
@csrf
{{----}}
@endif
@endsection @section('ext_js')