@extends('layout.app') @push('styles') @endpush @section('content')
@csrf
@can('form-setting') @if (globalPermission('customer-form-field-control')) @endif @endcan @if (checkSettings('pictureUpload') == 'enable' && showAnyFormField(['customer_profile_picture', 'customer_agrement', 'form_picture', 'building_photo', 'client_door_picture'])) @endif

Service Information

@if (checkAPI())
@can('ignore-mikrotik-check') @if (showFormField('ignore_mikrotik_check')) @endif @endcan @if (globalPermission('static_ip_manage') && Auth::user()->can('static_manage')) @endif
@endif
@error('userid')
{{ $message }}
@enderror
@error('password')
{{ $message }}
@enderror
@if (checkSettings('customer_code') == 'enable') @if (showFormField('customer_code'))
@error('customer_code')
{{ $message }}
@enderror
@endif @endif
@error('pop_id')
{{ $message }}
@enderror
{{-- kalam --}} @if (globalPermission('separate_billing_cycle_to_resellers'))
@else @if (getBillingType() == 'day_to_day') @can('day-to-day-reseller-full-date')
@else @if (globalPermission('fixed_billing_cycle_of_d2d_manager')) {{-- The manager decides which days are allowed, so they are fetched once a POP is picked (see getFixedBillingCycleByPopId below). One day is filled in and locked; several become a real choice; none falls back to the same today/yesterday value this field showed before this option existed. It starts empty rather than pre-filled: until a POP is chosen there is no manager to ask, and showing a guessed day the operator did not pick reads as a real value. It is required, so an empty one cannot be submitted - and POP is required too, so it is always filled by the time the form can go. --}}
@error('billing_cycle')
{{ $message }}
@enderror
@elseif (globalPermission('set-expire-date-today-on-create-d2d'))
@error('billing_cycle')
{{ $message }}
@enderror
@else
@error('billing_cycle')
{{ $message }}
@enderror
@endif @endcan @else
@error('billing_cycle')
{{ $message }}
@enderror
@endif @endif
@error('package_id')
{{ $message }}
@enderror
@if (globalPermission('free-day-to-create-customer')) @if (showFormField('free_day_to_create_customer'))
@error('free_day_to_create_customer')
{{ $message }}
@enderror
@endif @endif
@if (showFormField('expire_date'))
@endif {{-- Payment status is a billing input, not a display field, so it stays on the form whatever Exp Date is set to — dropping it would post no bill_amount_paid at all. --}}
@if (checkSettings('static_ip_manage') == 'enable') @if (showFormField('ethernet_port'))
@error('port')
{{ $message }}
@enderror
@endif @endif @if (showFormField('static_ip'))
@if (!checkAPI()) @error('static_ip')
{{ $message }}
@enderror @else @if (checkSettings('static-ip-check') == 'enable') @elseif(checkSettings('static_ip_manage') == 'enable') @else @error('static_ip')
{{ $message }}
@enderror @endif @endif
@endif @if (checkSettings('ipv_6_for_radius') == 'enable') @if (showFormField('ipv6'))
@error('ipv6')
{{ $message }}
@enderror
@endif @endif @if (showFormField('mac'))
@error('mac')
{{ $message }}
@enderror
@endif @if (checkSettings('radius_customer_bandwidth_limit') == 'enable') @can('apply-bandwidth-limit') @if (showFormField('bandwidth_limit'))
@error('bandwidth_limit')
{{ $message }}
@enderror
@endif @endcan @endif @if (showFormField('distribution_point'))
@error('distribution_point')
{{ $message }}
@enderror
@endif @if (showFormField('connection_type'))
@error('connection_type')
{{ $message }}
@enderror
@endif @if (showFormField('customer_type'))
@error('customer_type')
{{ $message }}
@enderror
@endif {{-- @if (checkSettings('single_client_billing_type') == 'enable')
@endif --}}

Basic Information

@error('client_name')
{{ $message }}
@enderror
@can('join-date-modify') @if (showFormField('join_date'))
@error('joinDate')
{{ $message }}
@enderror
@endif @endcan @if (showFormField('occupation'))
@error('occupation')
{{ $message }}
@enderror
@endif @if (showFormField('company_name'))
@error('company_name')
{{ $message }}
@enderror
@endif @if (showFormField('designation'))
@error('designation')
{{ $message }}
@enderror
@endif @if (showFormField('dob'))
@error('dob')
{{ $message }}
@enderror
@endif @if (showFormField('father_name'))
@error('father_name')
{{ $message }}
@enderror
@endif @if (showFormField('mother_name'))
@error('mother_name')
{{ $message }}
@enderror
@endif @if (showFormField('national_id'))
@error('national_id')
{{ $message }}
@enderror
@endif @if (checkSettings('national_id_picture') == 'enable') @if (showFormField('nid_image'))
@error('nid_image')
{{ $message }}
@enderror
@endif @endif @if (showFormField('passport_no'))
@error('passport_no')
{{ $message }}
@enderror
@endif
@error('contact_no')
{{ $message }}
@enderror
@if (showFormField('other_contact'))
@error('other_contact')
{{ $message }}
@enderror
@endif @if (showFormField('email'))
@endif
@if (showFormGroup('Address'))

Address

@if (showFormField('division'))
@endif @if (showFormField('district'))
@endif @if (showFormField('upazila'))
@endif @if (showFormField('upazila'))
@can('add-upazila') @endcan
@endif @if (showFormField('thana'))
@endif @if (showFormField('thana'))
@can('add-thana') @endcan
@endif @if (showFormField('area')) @if (checkSettings('area-dropdown') == 'enable')
@else
@endif @error('area')
{{ $message }}
@enderror @endif @if (showFormField('block_sector'))
@error('block_sector')
{{ $message }}
@enderror
@endif @if (showFormField('road_name'))
@error('road_name')
{{ $message }}
@enderror
@endif @if (showFormField('road_no'))
@error('road_no')
{{ $message }}
@enderror
@endif @if (showFormField('building_name'))
@error('building_name')
{{ $message }}
@enderror
@endif @if (showFormField('building_no'))
@error('building_no')
{{ $message }}
@enderror
@endif @if (showFormField('flat_no'))
@error('flat_no')
{{ $message }}
@enderror
@endif @if (checkSettings('box') == 'disable') @if (showFormField('box'))
@if (checkSettings('select_option_for_box_and_ponsetting') == 'enable') @else @endif
@endif @endif @if (checkSettings('box') == 'enable') @if (showFormField('box'))
@endif @endif @if (globalPermission('manage-map')) @if (showFormField('map_box'))
@endif @endif @if (showFormField('latitude'))
@endif @if (showFormField('longitude'))
@endif @if (checksettings('networkdiagram') == 'enable') @canany(['diagram-box-index', 'diagram-box-create', 'diagram-box-edit']) @if (showFormField('diagram_box'))
@error('diagram_box_id')
{{ $message }}
@enderror
@endif @endcanany @endif
@endif @if (showFormGroup('Building Owner Contact'))

Building Owner Contact

@if (showFormField('owner_name'))
@error('owner_name')
{{ $message }}
@enderror
@endif @if (showFormField('owner_contact'))
@error('onwer_number')
{{ $message }}
@enderror
@endif
@endif @if (showFormGroup('Connection Information'))

Connection Information

@if (showFormField('cable_type'))
@endif @if (showFormField('cable_from'))
@endif @if (showFormField('cable_to'))
@endif @if (showFormField('cable_from_2'))
@endif @if (showFormField('cable_to_2'))
@endif @if (showFormField('total_cable'))
@endif @if (showFormField('cable_id'))
{{-- cable id --}} @error('cable_id')
{{ $message }}
@enderror
@endif @if (showFormField('cat_type'))
@endif @if (showFormField('cat_length'))
@error('cat_length')
{{ $message }}
@enderror
@endif @if (checkSettings('olt-pon') == 'enable') @if (showFormField('onu_serial'))
@if (checkSettings('select_option_for_box_and_ponsetting') == 'enable') @else @endif @error('onu_serial')
{{ $message }}
@enderror
@endif @if (showFormField('olt_no'))
@error('olt_pon')
{{ $message }}
@enderror
@endif @if (showFormField('olt_card_slot'))
@error('olt_no')
{{ $message }}
@enderror
@endif @if (showFormField('pon_port'))
@error('pon_port')
{{ $message }}
@enderror
@endif @endif @can('customer-marketed-by') @if (showFormField('marketed_by'))
@can('add-marketer') @if (showFormField('add_marketer'))
@endif @endcan
@error('marketed_by')
{{ $message }}
@enderror
@endif @endcan @if (checkSettings('source_name') == 'enable') @if (showFormField('source_name'))
@error('source_name')
{{ $message }}
@enderror
@endif
@error('client_id')
{{ $message }}
@enderror
@endif @can('select-recommender') @if (showFormField('recommender'))
@error('recommender_id')
{{ $message }}
@enderror
@endif @endcan @if (showFormField('otc'))
@error('otc')
{{ $message }}
@enderror
@endif @if (checkSettings('free_client') == 'enable') @can('add-free-client') @if (showFormField('free_client'))
@endif @endcan @endif @if (showFormField('remote_access'))
@endif @if (showFormField('remote_access_username'))
@error('remote_access_username')
{{ $message }}
@enderror
@endif @if (showFormField('remote_access_password'))
@error('remote_access_password')
{{ $message }}
@enderror
@endif @if (showFormField('remote_access_port'))
@error('remote_access_port')
{{ $message }}
@enderror
@endif @if (globalPermission('manage-line-man')) @if (showFormField('line_man'))
@error('line_man_id')
{{ $message }}
@enderror
@endif @endif
@endif @if (checkSettings('setClientPaymentAmountToClient') == 'enable') @if (showFormField('client_payment_amount')) @endif @endif
@if (showFormField('remarks'))
@error('remarks')
{{ $message }}
@enderror
@endif
{{--
--}}
@endsection @push('js') @endpush @section('ajax') @endsection