Locations is a central list of entries for the adminstrative centers (cities, towns, villages, etc). Bayanat currently follows the Syrian adminstrative system, however the model can be changed to accomodate other countries.
Locations administration dashboard is available to admins only.
Bilingual field for the name of the location.
Coordinates of the location
List that allows the admin to specify the type of the lcoation. Currently, there are four location types: governorate, district, subdistrict, center.
Allows for specifying the direct parent of the location
The governorate to which the location belongs.
The district to which the location belongs.
The subdistrict to which the location belongs.
The center to which the location belongs.
Locations dashboard allows the adminstrator to quickly import locations from a CSV file. The CSV file needs to be formatted correctly under the following headers:
id,title,title_ar,latitude,longitude,loc_type,parent_text,description_en,description_ar,parent_location_id,location_createdz,location_modifiedz,pcode,parent_g_en,parent_d_en,parent_s_en,parent_g_id,parent_d_id,parent_s_id,parent_c_en,parent_c_id,country_cd,parent_g_ar,parent_d_ar,parent_s_ar,parent_c_ar