From 09c289e21e38cdcbad077a92e3acde7ccf923875 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 3 Nov 2022 13:51:54 +0100 Subject: [PATCH] Please cherry-pick: - moved related files for jcontact-business-core to own "business" folder - updated navigation rules accordingly --- web/WEB-INF/faces-config.xml | 222 ++++++- .../admin_form_branch_office_data.tpl | 187 ++++++ .../admin_form_branch_opening_time.tpl | 88 +++ .../department/admin_form_department_data.tpl | 143 ++++ .../employee/admin_form_employee_data.tpl | 196 ++++++ .../admin_form_headquarter_data.tpl | 144 ++++ .../admin_form_headquarter_opening_time.tpl | 89 +++ .../opening_time/admin_form_opening_time.tpl | 89 +++ .../basic_data/admin_basic_data_list.xhtml | 619 ++++++++++++++++++ .../admin_branch_office_edit.xhtml | 89 +++ .../admin_branch_office_list.xhtml | 560 ++++++++++++++++ .../department/admin_department_edit.xhtml | 80 +++ .../department/admin_department_list.xhtml | 398 +++++++++++ .../employee/admin_employee_list.xhtml | 380 +++++++++++ .../headquarter/admin_headquarter_list.xhtml | 415 ++++++++++++ .../admin_opening_time_list.xhtml | 285 ++++++++ 16 files changed, 3953 insertions(+), 31 deletions(-) create mode 100644 web/WEB-INF/templates/admin/business/branch_office/admin_form_branch_office_data.tpl create mode 100644 web/WEB-INF/templates/admin/business/branch_office/admin_form_branch_opening_time.tpl create mode 100644 web/WEB-INF/templates/admin/business/department/admin_form_department_data.tpl create mode 100644 web/WEB-INF/templates/admin/business/employee/admin_form_employee_data.tpl create mode 100644 web/WEB-INF/templates/admin/business/headquarter/admin_form_headquarter_data.tpl create mode 100644 web/WEB-INF/templates/admin/business/headquarter/admin_form_headquarter_opening_time.tpl create mode 100644 web/WEB-INF/templates/admin/business/opening_time/admin_form_opening_time.tpl create mode 100644 web/admin/business/basic_data/admin_basic_data_list.xhtml create mode 100644 web/admin/business/branch_office/admin_branch_office_edit.xhtml create mode 100644 web/admin/business/branch_office/admin_branch_office_list.xhtml create mode 100644 web/admin/business/department/admin_department_edit.xhtml create mode 100644 web/admin/business/department/admin_department_list.xhtml create mode 100644 web/admin/business/employee/admin_employee_list.xhtml create mode 100644 web/admin/business/headquarter/admin_headquarter_list.xhtml create mode 100644 web/admin/business/opening_time/admin_opening_time_list.xhtml diff --git a/web/WEB-INF/faces-config.xml b/web/WEB-INF/faces-config.xml index 4262b909..700a3a1b 100644 --- a/web/WEB-INF/faces-config.xml +++ b/web/WEB-INF/faces-config.xml @@ -109,12 +109,28 @@ /admin/contact/admin_contact_export.xhtml - admin_list_basic_company_data - /admin/basic_company_data/admin_basic_company_data_list.xhtml + admin_list_headquarters + /admin/business/headquarter/admin_headquarter_list.xhtml + + + admin_list_basic_data + /admin/business/basic_data/admin_basic_data_list.xhtml admin_list_branch_offices - /admin/branch_offices/admin_branch_offices_list.xhtml + /admin/business/branch_office/admin_branch_office_list.xhtml + + + admin_list_departments + /admin/business/department/admin_department_list.xhtml + + + admin_list_opening_times + /admin/business/opening_time/admin_opening_time_list.xhtml + + + admin_list_employees + /admin/business/employee/admin_employee_list.xhtml admin_list_user @@ -220,10 +236,6 @@ user_contact_data_saved /user/login_contact_data_saved.xhtml - - admin_delete_product - /admin/admin_product_delete.xhtml - /user/login_user_change_personal_data.xhtml @@ -719,53 +731,84 @@ - /admin/basic_company_data/admin_basic_company_data_list.xhtml + /admin/business/basic_data/admin_basic_data_list.xhtml admin_show_basic_data - /admin/basic_company_data/admin_basic_company_data_show.xhtml + /admin/business/basic_data/admin_basic_data_show.xhtml admin_edit_basic_data - /admin/basic_company_data/admin_basic_company_data_edit.xhtml + /admin/business/basic_data/admin_basic_data_edit.xhtml admin_delete_basic_data - /admin/basic_company_data/admin_basic_company_data_delete.xhtml + /admin/business/basic_data/admin_basic_data_delete.xhtml + + + admin_assign_basic_data_contact + /admin/business/basic_data/admin_basic_data_assign_contact.xhtml + + + admin_assign_basic_data_founder + /admin/business/basic_data/admin_basic_data_assign_founder.xhtml + + + admin_assign_basic_data_owner + /admin/business/basic_data/admin_basic_data_assign_owner.xhtml + + + admin_show_employee + /admin/business/employee/admin_employee_show.xhtml + + + admin_assign_basic_data_employee + /admin/business/basic_data/admin_basic_data_assign_employee.xhtml + + + + /admin/business/headquarter/admin_headquarter_list.xhtml + + admin_show_headquarter + /admin/business/headquarter/admin_headquarter_show.xhtml + + + admin_edit_headquarter + /admin/business/headquarter/admin_headquarter_edit.xhtml - admin_assign_basic_company_data_contact - /admin/basic_company_data/admin_basic_company_data_assign_contact.xhtml + admin_delete_headquarter + /admin/business/headquarter/admin_headquarter_delete.xhtml - admin_assign_basic_company_data_founder - /admin/basic_company_data/admin_basic_company_data_assign_founder.xhtml + admin_show_user + /admin/user/admin_user_show.xhtml - admin_assign_basic_company_data_owner - /admin/basic_company_data/admin_basic_company_data_assign_owner.xhtml + admin_assign_headquarter_owner + /admin/business/headquarter/admin_headquarter_assign_owner.xhtml - admin_show_business_employee - /admin/company_employee/admin_company_employee_show.xhtml + admin_show_contact + /admin/contact/admin_contact_show.xhtml - admin_assign_basic_company_data_employee - /admin/basic_company_data/admin_basic_company_data_assign_employee.xhtml + admin_assign_headquarter_contact + /admin/business/headquarter/admin_headquarter_assign_contact.xhtml - /admin/branch_offices/admin_branch_offices_list.xhtml + /admin/business/branch_office/admin_branch_office_list.xhtml admin_show_branch_office - /admin/branch_offices/admin_branch_office_show.xhtml + /admin/business/branch_office/admin_branch_office_show.xhtml admin_edit_branch_office - /admin/branch_offices/admin_branch_office_edit.xhtml + /admin/business/branch_office/admin_branch_office_edit.xhtml admin_delete_branch_office - /admin/branch_offices/admin_branch_office_delete.xhtml + /admin/business/branch_office/admin_branch_office_delete.xhtml admin_show_user @@ -773,19 +816,136 @@ admin_assign_branch_office_owner - /admin/branch_offices/admin_branch_office_assign_owner.xhtml + /admin/business/branch_office/admin_branch_office_assign_owner.xhtml admin_show_basic_data - /admin/basic_company_data/admin_basic_company_data_show.xhtml + /admin/business/basic_data/admin_basic_data_show.xhtml + + + admin_show_contact + /admin/contact/admin_contact_show.xhtml + + + admin_assign_branch_office_contact + /admin/business/branch_office/admin_branch_office_assign_contact.xhtml + + + admin_show_fax + /admin/fax/admin_fax_show.xhtml - admin_show_business_employee - /admin/company_employee/admin_company_employee_show.xhtml + admin_show_landline + /admin/landline/admin_landline_show.xhtml + + + /admin/business/branch_office/admin_branch_office_edit.xhtml + + admin_list_branch_offices + /admin/business/branch_office/admin_branch_office_list.xhtml + + + + + /admin/business/department/admin_department_list.xhtml + + admin_show_department + /admin/business/department/admin_department_show.xhtml + + + admin_edit_department + /admin/business/department/admin_department_edit.xhtml + + + admin_delete_department + /admin/business/department/admin_department_delete.xhtml + + + admin_show_branch_office + /admin/business/branch_office/admin_branch_office_show.xhtml + + + admin_assign_department_branch_office + /admin/business/department/admin_assign_department_branch_office.xhtml + + + admin_show_contact + /admin/contact/admin_contact_show.xhtml + + + admin_assign_department_lead + /admin/business/department/admin_assign_department_lead.xhtml + + + admin_assign_department_user + /admin/business/department/admin_assign_department_user.xhtml + + + admin_show_basic_data + /admin/business/basic_data/admin_basic_data_show.xhtml + + + + /admin/business/department/admin_department_edit.xhtml + + admin_list_departments + /admin/business/department/admin_department_list.xhtml + + + + + /admin/business/employee/admin_employee_list.xhtml + + admin_show_employee + /admin/business/employee/admin_employee_show.xhtml + + + admin_edit_employee + /admin/business/employee/admin_employee_edit.xhtml + + + admin_delete_employee + /admin/business/employee/admin_employee_delete.xhtml + + + admin_show_branch_office + /admin/business/branch_office/admin_branch_office_show.xhtml + + + admin_assign_user_owner + /admin/business/employee/admin_assign_employee_user.xhtml + + + admin_assign_branch_office + /admin/business/employee/admin_assign_employee_branch_office.xhtml + + + admin_show_basic_data + /admin/business/basic_data/admin_basic_data_show.xhtml + + + + /admin/business/opening_time/admin_opening_time_list.xhtml + + admin_show_opening_time + /admin/business/opening_time/admin_opening_time_show.xhtml + + + admin_edit_opening_time + /admin/business/opening_time/admin_opening_time_edit.xhtml + + + admin_delete_opening_time + /admin/business/opening_time/admin_opening_time_delete.xhtml + + + + /admin/financial/receipt_item/admin_receipt_item_edit.xhtml - admin_assign_branch_office_employee - /admin/branch_offices/admin_branch_office_assign_employee.xhtml + admin_list_receipt_items + /admin/financial/receipt_item/admin_receipt_item_list.xhtml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web/WEB-INF/templates/admin/business/department/admin_form_department_data.tpl b/web/WEB-INF/templates/admin/business/department/admin_form_department_data.tpl new file mode 100644 index 00000000..af7eb067 --- /dev/null +++ b/web/WEB-INF/templates/admin/business/department/admin_form_department_data.tpl @@ -0,0 +1,143 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web/WEB-INF/templates/admin/business/employee/admin_form_employee_data.tpl b/web/WEB-INF/templates/admin/business/employee/admin_form_employee_data.tpl new file mode 100644 index 00000000..21644cf7 --- /dev/null +++ b/web/WEB-INF/templates/admin/business/employee/admin_form_employee_data.tpl @@ -0,0 +1,196 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web/WEB-INF/templates/admin/business/headquarter/admin_form_headquarter_data.tpl b/web/WEB-INF/templates/admin/business/headquarter/admin_form_headquarter_data.tpl new file mode 100644 index 00000000..61ddb0b1 --- /dev/null +++ b/web/WEB-INF/templates/admin/business/headquarter/admin_form_headquarter_data.tpl @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web/WEB-INF/templates/admin/business/headquarter/admin_form_headquarter_opening_time.tpl b/web/WEB-INF/templates/admin/business/headquarter/admin_form_headquarter_opening_time.tpl new file mode 100644 index 00000000..4256ad25 --- /dev/null +++ b/web/WEB-INF/templates/admin/business/headquarter/admin_form_headquarter_opening_time.tpl @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web/WEB-INF/templates/admin/business/opening_time/admin_form_opening_time.tpl b/web/WEB-INF/templates/admin/business/opening_time/admin_form_opening_time.tpl new file mode 100644 index 00000000..767ee3e0 --- /dev/null +++ b/web/WEB-INF/templates/admin/business/opening_time/admin_form_opening_time.tpl @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web/admin/business/basic_data/admin_basic_data_list.xhtml b/web/admin/business/basic_data/admin_basic_data_list.xhtml new file mode 100644 index 00000000..441db7d3 --- /dev/null +++ b/web/admin/business/basic_data/admin_basic_data_list.xhtml @@ -0,0 +1,619 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web/admin/business/branch_office/admin_branch_office_edit.xhtml b/web/admin/business/branch_office/admin_branch_office_edit.xhtml new file mode 100644 index 00000000..1bc3e95b --- /dev/null +++ b/web/admin/business/branch_office/admin_branch_office_edit.xhtml @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web/admin/business/branch_office/admin_branch_office_list.xhtml b/web/admin/business/branch_office/admin_branch_office_list.xhtml new file mode 100644 index 00000000..c28d1e6c --- /dev/null +++ b/web/admin/business/branch_office/admin_branch_office_list.xhtml @@ -0,0 +1,560 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web/admin/business/department/admin_department_edit.xhtml b/web/admin/business/department/admin_department_edit.xhtml new file mode 100644 index 00000000..ab4b6e1e --- /dev/null +++ b/web/admin/business/department/admin_department_edit.xhtml @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web/admin/business/department/admin_department_list.xhtml b/web/admin/business/department/admin_department_list.xhtml new file mode 100644 index 00000000..192053de --- /dev/null +++ b/web/admin/business/department/admin_department_list.xhtml @@ -0,0 +1,398 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web/admin/business/employee/admin_employee_list.xhtml b/web/admin/business/employee/admin_employee_list.xhtml new file mode 100644 index 00000000..c6e460c5 --- /dev/null +++ b/web/admin/business/employee/admin_employee_list.xhtml @@ -0,0 +1,380 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web/admin/business/headquarter/admin_headquarter_list.xhtml b/web/admin/business/headquarter/admin_headquarter_list.xhtml new file mode 100644 index 00000000..9bc2aa46 --- /dev/null +++ b/web/admin/business/headquarter/admin_headquarter_list.xhtml @@ -0,0 +1,415 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web/admin/business/opening_time/admin_opening_time_list.xhtml b/web/admin/business/opening_time/admin_opening_time_list.xhtml new file mode 100644 index 00000000..6d48764a --- /dev/null +++ b/web/admin/business/opening_time/admin_opening_time_list.xhtml @@ -0,0 +1,285 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- 2.39.5