Frontend
Masters
City

City Master

Navigation Path

Company → Masters → City Master


1. City List Page

URL

/masters/city-master

Page Description

  • Displays a list of all cities configured in the system
  • Shows statutory applicability details per city
  • Provides actions to add, edit, and delete city records

List Table Columns

Column NameDescription
S NoSerial number
StateState associated with the city
City NameName of the city
Central / StateIndicates whether Central or State
Central TypeCentral classification type
PF NoPF number mapped to the city
ESI NoESI number mapped to the city
Is MetroIndicates whether the city is metro
PT ApplicableProfessional Tax applicability
LWF ApplicableLabour Welfare Fund applicability
ActionsEdit and Delete options

Row Actions

ActionDescription
EditOpens Edit City page with pre-filled data
DeleteOpens delete confirmation alert

2. Add City Page

Triggered From

City List Page → Add City button

Page Description

  • Allows admins to add a new city under a selected state
  • Enables statutory and tax-related configuration at city level

Add City – Fields

Field NameTypeMandatoryDescription
StateDropdownYesSelect or create a state
City NameText InputYesEnter the city name
Central / StateDropdownYesSelect Central or State
Central TypeDropdownConditionalEnabled when Central is selected
PF NoText InputNoEnter PF number
ESI NoText InputNoEnter ESI number
Is MetroCheckboxNoIndicates metro city
PT ApplicableCheckboxNoEnables Professional Tax
LWF ApplicableCheckboxNoEnables Labour Welfare Fund

Actions

ActionBehavior
SaveValidates and saves the city
ResetClears all entered values
CancelReturns to City List page

Validation Rules

  • State selection is mandatory
  • City Name cannot be empty
  • Central Type is mandatory if Central is selected
  • Duplicate city names are not allowed within the same state

3. Edit City Page

/masters/city-master/edit/:id

Triggered From

City List Page → Edit icon

Page Description

  • Allows updating existing city details
  • All fields are pre-filled with saved data

Editable Fields

Field NameEditable
StateYes
City NameYes
Central / StateYes
Central TypeYes
PF NoYes
ESI NoYes
Is MetroYes
PT ApplicableYes
LWF ApplicableYes

Actions

ActionBehavior
UpdateSaves changes
CancelDiscards changes and navigates back

4. Delete City Confirmation Alert

Triggered From

City List Page → Delete icon

Alert Content

  • Confirmation message before deletion

Actions:

  • Confirm / Yes → Deletes the city
  • Cancel → Closes the alert without action

Delete Behavior

  • City is removed permanently after confirmation
  • If the city is mapped to other records, deletion may be restricted

End of Documentation