diff --git a/smart_service.egg-info/PKG-INFO b/smart_service.egg-info/PKG-INFO
deleted file mode 100644
index d40f4d2..0000000
--- a/smart_service.egg-info/PKG-INFO
+++ /dev/null
@@ -1,12 +0,0 @@
-Metadata-Version: 2.1
-Name: smart-service
-Version: 0.0.1
-Summary: Mahindra Smart Service (Formarly: Guided Repair Manual)
-Home-page: UNKNOWN
-Author: Hard n Soft Technologies Pvt Ltd
-Author-email: siva@hnsonline.com
-License: UNKNOWN
-Platform: UNKNOWN
-
-UNKNOWN
-
diff --git a/smart_service.egg-info/SOURCES.txt b/smart_service.egg-info/SOURCES.txt
deleted file mode 100644
index e2a2069..0000000
--- a/smart_service.egg-info/SOURCES.txt
+++ /dev/null
@@ -1,377 +0,0 @@
-MANIFEST.in
-README.md
-license.txt
-requirements.txt
-setup.py
-smart_service/__init__.py
-smart_service/hooks.py
-smart_service/modules.txt
-smart_service/patches.txt
-smart_service.egg-info/PKG-INFO
-smart_service.egg-info/SOURCES.txt
-smart_service.egg-info/dependency_links.txt
-smart_service.egg-info/not-zip-safe
-smart_service.egg-info/top_level.txt
-smart_service/add_ons/__init__.py
-smart_service/add_ons/doctype/__init__.py
-smart_service/add_ons/doctype/app_dealer/__init__.py
-smart_service/add_ons/doctype/app_dealer/app_dealer.js
-smart_service/add_ons/doctype/app_dealer/app_dealer.json
-smart_service/add_ons/doctype/app_dealer/app_dealer.py
-smart_service/add_ons/doctype/app_dealer/test_app_dealer.py
-smart_service/add_ons/doctype/app_device/__init__.py
-smart_service/add_ons/doctype/app_device/app_device.js
-smart_service/add_ons/doctype/app_device/app_device.json
-smart_service/add_ons/doctype/app_device/app_device.py
-smart_service/add_ons/doctype/app_device/test_app_device.py
-smart_service/add_ons/doctype/app_log/__init__.py
-smart_service/add_ons/doctype/app_log/app_log.js
-smart_service/add_ons/doctype/app_log/app_log.json
-smart_service/add_ons/doctype/app_log/app_log.py
-smart_service/add_ons/doctype/app_log/test_app_log.py
-smart_service/add_ons/doctype/app_preference/__init__.py
-smart_service/add_ons/doctype/app_preference/app_preference.js
-smart_service/add_ons/doctype/app_preference/app_preference.json
-smart_service/add_ons/doctype/app_preference/app_preference.py
-smart_service/add_ons/doctype/app_preference/test_app_preference.py
-smart_service/add_ons/doctype/app_users/__init__.py
-smart_service/add_ons/doctype/app_users/app_users.js
-smart_service/add_ons/doctype/app_users/app_users.json
-smart_service/add_ons/doctype/app_users/app_users.py
-smart_service/add_ons/doctype/app_users/test_app_users.py
-smart_service/add_ons/doctype/application_menu/__init__.py
-smart_service/add_ons/doctype/application_menu/application_menu.js
-smart_service/add_ons/doctype/application_menu/application_menu.json
-smart_service/add_ons/doctype/application_menu/application_menu.py
-smart_service/add_ons/doctype/application_menu/test_application_menu.py
-smart_service/add_ons/doctype/bookmark/__init__.py
-smart_service/add_ons/doctype/bookmark/bookmark.js
-smart_service/add_ons/doctype/bookmark/bookmark.json
-smart_service/add_ons/doctype/bookmark/bookmark.py
-smart_service/add_ons/doctype/bookmark/test_bookmark.py
-smart_service/add_ons/doctype/circular/__init__.py
-smart_service/add_ons/doctype/circular/circular.js
-smart_service/add_ons/doctype/circular/circular.json
-smart_service/add_ons/doctype/circular/circular.py
-smart_service/add_ons/doctype/circular/test_circular.py
-smart_service/add_ons/doctype/model_hit/__init__.py
-smart_service/add_ons/doctype/model_hit/model_hit.js
-smart_service/add_ons/doctype/model_hit/model_hit.json
-smart_service/add_ons/doctype/model_hit/model_hit.py
-smart_service/add_ons/doctype/model_hit/test_model_hit.py
-smart_service/add_ons/doctype/model_usage/__init__.py
-smart_service/add_ons/doctype/model_usage/model_usage.js
-smart_service/add_ons/doctype/model_usage/model_usage.json
-smart_service/add_ons/doctype/model_usage/model_usage.py
-smart_service/add_ons/doctype/model_usage/test_model_usage.py
-smart_service/add_ons/doctype/teknet_group/__init__.py
-smart_service/add_ons/doctype/teknet_group/teknet_group.js
-smart_service/add_ons/doctype/teknet_group/teknet_group.json
-smart_service/add_ons/doctype/teknet_group/teknet_group.py
-smart_service/add_ons/doctype/teknet_group/test_teknet_group.py
-smart_service/add_ons/doctype/teknet_module/__init__.py
-smart_service/add_ons/doctype/teknet_module/teknet_module.js
-smart_service/add_ons/doctype/teknet_module/teknet_module.json
-smart_service/add_ons/doctype/teknet_module/teknet_module.py
-smart_service/add_ons/doctype/teknet_module/test_teknet_module.py
-smart_service/add_ons/doctype/user_feedback/__init__.py
-smart_service/add_ons/doctype/user_feedback/test_user_feedback.py
-smart_service/add_ons/doctype/user_feedback/user_feedback.js
-smart_service/add_ons/doctype/user_feedback/user_feedback.json
-smart_service/add_ons/doctype/user_feedback/user_feedback.py
-smart_service/add_ons/doctype/user_feedback_types/__init__.py
-smart_service/add_ons/doctype/user_feedback_types/test_user_feedback_types.py
-smart_service/add_ons/doctype/user_feedback_types/user_feedback_types.js
-smart_service/add_ons/doctype/user_feedback_types/user_feedback_types.json
-smart_service/add_ons/doctype/user_feedback_types/user_feedback_types.py
-smart_service/add_ons/doctype/user_manual/__init__.py
-smart_service/add_ons/doctype/user_manual/test_user_manual.py
-smart_service/add_ons/doctype/user_manual/user_manual.js
-smart_service/add_ons/doctype/user_manual/user_manual.json
-smart_service/add_ons/doctype/user_manual/user_manual.py
-smart_service/add_ons/report/__init__.py
-smart_service/add_ons/report/_test/__init__.py
-smart_service/add_ons/report/_test/_test.js
-smart_service/add_ons/report/_test/_test.json
-smart_service/add_ons/report/_test/_test.py
-smart_service/add_ons/report/feedback_report/__init__.py
-smart_service/add_ons/report/feedback_report/feedback_report.js
-smart_service/add_ons/report/feedback_report/feedback_report.json
-smart_service/add_ons/report/feedback_report/feedback_report.py
-smart_service/add_ons/report/installation_report/__init__.py
-smart_service/add_ons/report/installation_report/installation_report.js
-smart_service/add_ons/report/installation_report/installation_report.json
-smart_service/add_ons/report/installation_report/installation_report.py
-smart_service/add_ons/report/login_report/__init__.py
-smart_service/add_ons/report/login_report/login_report.js
-smart_service/add_ons/report/login_report/login_report.json
-smart_service/add_ons/report/login_report/login_report.py
-smart_service/add_ons/report/model_download_report/__init__.py
-smart_service/add_ons/report/model_download_report/model_download_report.js
-smart_service/add_ons/report/model_download_report/model_download_report.json
-smart_service/add_ons/report/model_download_report/model_download_report.py
-smart_service/add_ons/report/model_hit_report/__init__.py
-smart_service/add_ons/report/model_hit_report/model_hit_report.js
-smart_service/add_ons/report/model_hit_report/model_hit_report.json
-smart_service/add_ons/report/model_hit_report/model_hit_report.py
-smart_service/add_ons/report/release_report/__init__.py
-smart_service/add_ons/report/release_report/release_report.js
-smart_service/add_ons/report/release_report/release_report.json
-smart_service/add_ons/report/release_report/release_report.py
-smart_service/apis/addon_api.py
-smart_service/apis/app_user_login.py
-smart_service/apis/master_api.py
-smart_service/apis/publish_api.py
-smart_service/apis/transaction_api.py
-smart_service/apis/update_validation.py
-smart_service/config/__init__.py
-smart_service/config/desktop.py
-smart_service/config/docs.py
-smart_service/fixtures/custom_field.json
-smart_service/mahindra_smart_service/__init__.py
-smart_service/mahindra_smart_service/doctype/__init__.py
-smart_service/mahindra_smart_service/doctype/release/__init__.py
-smart_service/mahindra_smart_service/doctype/release/release.js
-smart_service/mahindra_smart_service/doctype/release/release.json
-smart_service/mahindra_smart_service/doctype/release/release.py
-smart_service/mahindra_smart_service/doctype/release/test_release.py
-smart_service/mahindra_smart_service/doctype/release_docs/__init__.py
-smart_service/mahindra_smart_service/doctype/release_docs/release_docs.json
-smart_service/mahindra_smart_service/doctype/release_docs/release_docs.py
-smart_service/mahindra_smart_service/report/__init__.py
-smart_service/mahindra_smart_service/report/_applog_translation/__init__.py
-smart_service/mahindra_smart_service/report/_applog_translation/_applog_translation.js
-smart_service/mahindra_smart_service/report/_applog_translation/_applog_translation.json
-smart_service/mahindra_smart_service/report/_applog_translation/_applog_translation.py
-smart_service/mahindra_smart_service/report/_drive_translation/__init__.py
-smart_service/mahindra_smart_service/report/_drive_translation/_drive_translation.js
-smart_service/mahindra_smart_service/report/_drive_translation/_drive_translation.json
-smart_service/mahindra_smart_service/report/_drive_translation/_drive_translation.py
-smart_service/mahindra_smart_service/report/_file_structure/__init__.py
-smart_service/mahindra_smart_service/report/_file_structure/_file_structure.js
-smart_service/mahindra_smart_service/report/_file_structure/_file_structure.json
-smart_service/mahindra_smart_service/report/_file_structure/_file_structure.py
-smart_service/mahindra_smart_service/report/_fuel_translation/__init__.py
-smart_service/mahindra_smart_service/report/_fuel_translation/_fuel_translation.js
-smart_service/mahindra_smart_service/report/_fuel_translation/_fuel_translation.json
-smart_service/mahindra_smart_service/report/_fuel_translation/_fuel_translation.py
-smart_service/mahindra_smart_service/report/_procedure_report/__init__.py
-smart_service/mahindra_smart_service/report/_procedure_report/_procedure_report.js
-smart_service/mahindra_smart_service/report/_procedure_report/_procedure_report.json
-smart_service/mahindra_smart_service/report/_procedure_report/_procedure_report.py
-smart_service/mahindra_smart_service/report/_sub_systems_translation/__init__.py
-smart_service/mahindra_smart_service/report/_sub_systems_translation/_sub_systems_translation.js
-smart_service/mahindra_smart_service/report/_sub_systems_translation/_sub_systems_translation.json
-smart_service/mahindra_smart_service/report/_sub_systems_translation/_sub_systems_translation.py
-smart_service/mahindra_smart_service/report/_systems_translation/__init__.py
-smart_service/mahindra_smart_service/report/_systems_translation/_systems_translation.js
-smart_service/mahindra_smart_service/report/_systems_translation/_systems_translation.json
-smart_service/mahindra_smart_service/report/_systems_translation/_systems_translation.py
-smart_service/mahindra_smart_service/report/_transmission_translation/__init__.py
-smart_service/mahindra_smart_service/report/_transmission_translation/_transmission_translation.js
-smart_service/mahindra_smart_service/report/_transmission_translation/_transmission_translation.json
-smart_service/mahindra_smart_service/report/_transmission_translation/_transmission_translation.py
-smart_service/mahindra_smart_service/report/_variant_translation/__init__.py
-smart_service/mahindra_smart_service/report/_variant_translation/_variant_translation.js
-smart_service/mahindra_smart_service/report/_variant_translation/_variant_translation.json
-smart_service/mahindra_smart_service/report/_variant_translation/_variant_translation.py
-smart_service/mahindra_smart_service/report/_vehicle_segment_translation/__init__.py
-smart_service/mahindra_smart_service/report/_vehicle_segment_translation/_vehicle_segment_translation.js
-smart_service/mahindra_smart_service/report/_vehicle_segment_translation/_vehicle_segment_translation.json
-smart_service/mahindra_smart_service/report/_vehicle_segment_translation/_vehicle_segment_translation.py
-smart_service/mahindra_smart_service/report/_vehicle_translation/__init__.py
-smart_service/mahindra_smart_service/report/_vehicle_translation/_vehicle_translation.js
-smart_service/mahindra_smart_service/report/_vehicle_translation/_vehicle_translation.json
-smart_service/mahindra_smart_service/report/_vehicle_translation/_vehicle_translation.py
-smart_service/mahindra_smart_service/report/installation_report/__init__.py
-smart_service/mahindra_smart_service/report/installation_report/installation_report.js
-smart_service/mahindra_smart_service/report/installation_report/installation_report.json
-smart_service/mahindra_smart_service/report/installation_report/installation_report.py
-smart_service/mahindra_smart_service/report/login_report/__init__.py
-smart_service/mahindra_smart_service/report/login_report/login_report.js
-smart_service/mahindra_smart_service/report/login_report/login_report.json
-smart_service/mahindra_smart_service/report/login_report/login_report.py
-smart_service/masters/__init__.py
-smart_service/masters/doctype/__init__.py
-smart_service/masters/doctype/app_labels/__init__.py
-smart_service/masters/doctype/app_labels/app_labels.js
-smart_service/masters/doctype/app_labels/app_labels.json
-smart_service/masters/doctype/app_labels/app_labels.py
-smart_service/masters/doctype/app_labels/test_app_labels.py
-smart_service/masters/doctype/app_labels_data/__init__.py
-smart_service/masters/doctype/app_labels_data/app_labels_data.json
-smart_service/masters/doctype/app_labels_data/app_labels_data.py
-smart_service/masters/doctype/custom_languages/__init__.py
-smart_service/masters/doctype/custom_languages/custom_languages.js
-smart_service/masters/doctype/custom_languages/custom_languages.json
-smart_service/masters/doctype/custom_languages/custom_languages.py
-smart_service/masters/doctype/custom_languages/test_custom_languages.py
-smart_service/masters/doctype/drive/__init__.py
-smart_service/masters/doctype/drive/drive.js
-smart_service/masters/doctype/drive/drive.json
-smart_service/masters/doctype/drive/drive.py
-smart_service/masters/doctype/drive/test_drive.py
-smart_service/masters/doctype/fuel/__init__.py
-smart_service/masters/doctype/fuel/fuel.js
-smart_service/masters/doctype/fuel/fuel.json
-smart_service/masters/doctype/fuel/fuel.py
-smart_service/masters/doctype/fuel/test_fuel.py
-smart_service/masters/doctype/service_kilometers/__init__.py
-smart_service/masters/doctype/service_kilometers/service_kilometers.js
-smart_service/masters/doctype/service_kilometers/service_kilometers.json
-smart_service/masters/doctype/service_kilometers/service_kilometers.py
-smart_service/masters/doctype/service_kilometers/test_service_kilometers.py
-smart_service/masters/doctype/sub_systems/__init__.py
-smart_service/masters/doctype/sub_systems/sub_systems.js
-smart_service/masters/doctype/sub_systems/sub_systems.json
-smart_service/masters/doctype/sub_systems/sub_systems.py
-smart_service/masters/doctype/sub_systems/test_sub_systems.py
-smart_service/masters/doctype/systems/__init__.py
-smart_service/masters/doctype/systems/systems.js
-smart_service/masters/doctype/systems/systems.json
-smart_service/masters/doctype/systems/systems.py
-smart_service/masters/doctype/systems/test_systems.py
-smart_service/masters/doctype/transmission/__init__.py
-smart_service/masters/doctype/transmission/test_transmission.py
-smart_service/masters/doctype/transmission/transmission.js
-smart_service/masters/doctype/transmission/transmission.json
-smart_service/masters/doctype/transmission/transmission.py
-smart_service/masters/doctype/variant/__init__.py
-smart_service/masters/doctype/variant/test_variant.py
-smart_service/masters/doctype/variant/variant.js
-smart_service/masters/doctype/variant/variant.json
-smart_service/masters/doctype/variant/variant.py
-smart_service/masters/doctype/vehicle/__init__.py
-smart_service/masters/doctype/vehicle/test_vehicle.py
-smart_service/masters/doctype/vehicle/vehicle.js
-smart_service/masters/doctype/vehicle/vehicle.json
-smart_service/masters/doctype/vehicle/vehicle.py
-smart_service/masters/doctype/vehicle_segment/__init__.py
-smart_service/masters/doctype/vehicle_segment/test_vehicle_segment.py
-smart_service/masters/doctype/vehicle_segment/vehicle_segment.js
-smart_service/masters/doctype/vehicle_segment/vehicle_segment.json
-smart_service/masters/doctype/vehicle_segment/vehicle_segment.py
-smart_service/masters/doctype/vehicle_sk/__init__.py
-smart_service/masters/doctype/vehicle_sk/vehicle_sk.json
-smart_service/masters/doctype/vehicle_sk/vehicle_sk.py
-smart_service/masters/report/__init__.py
-smart_service/masters/report/_fuel_translation/__init__.py
-smart_service/masters/report/_fuel_translation/_fuel_translation.js
-smart_service/masters/report/_fuel_translation/_fuel_translation.json
-smart_service/masters/report/_fuel_translation/_fuel_translation.py
-smart_service/public/api.py
-smart_service/public/build.json
-smart_service/public/oauthtest.py
-smart_service/public/sess.py
-smart_service/public/css/smart_service.css
-smart_service/public/icons/dot.png
-smart_service/public/icons/outline_description_black_24dp.png
-smart_service/public/icons/outline_directions_car_black_24dp.png
-smart_service/public/icons/outline_engineering_black_24dp.png
-smart_service/public/icons/outline_folder_open_black_24dp.png
-smart_service/public/icons/outline_manage_accounts_black_24dp.png
-smart_service/public/icons/outline_stairs_black_24dp.png
-smart_service/public/images/Mahindra_Newlogo.png
-smart_service/public/images/Mahindra_title.png
-smart_service/public/images/mahindra_splash_logo.png
-smart_service/public/images/mahindra_splash_logo.svg
-smart_service/reports/__init__.py
-smart_service/templates/__init__.py
-smart_service/templates/includes/login/_login.js
-smart_service/templates/pages/__init__.py
-smart_service/transactions/__init__.py
-smart_service/transactions/doctype/__init__.py
-smart_service/transactions/doctype/config_kilometer/__init__.py
-smart_service/transactions/doctype/config_kilometer/config_kilometer.js
-smart_service/transactions/doctype/config_kilometer/config_kilometer.json
-smart_service/transactions/doctype/config_kilometer/config_kilometer.py
-smart_service/transactions/doctype/config_kilometer/test_config_kilometer.py
-smart_service/transactions/doctype/kilometer_mapping/__init__.py
-smart_service/transactions/doctype/kilometer_mapping/kilometer_mapping.js
-smart_service/transactions/doctype/kilometer_mapping/kilometer_mapping.json
-smart_service/transactions/doctype/kilometer_mapping/kilometer_mapping.py
-smart_service/transactions/doctype/kilometer_mapping/test_kilometer_mapping.py
-smart_service/transactions/doctype/kilometer_mapping_items/__init__.py
-smart_service/transactions/doctype/kilometer_mapping_items/kilometer_mapping_items.json
-smart_service/transactions/doctype/kilometer_mapping_items/kilometer_mapping_items.py
-smart_service/transactions/doctype/kilometer_mapping_items_temp/__init__.py
-smart_service/transactions/doctype/kilometer_mapping_items_temp/kilometer_mapping_items_temp.json
-smart_service/transactions/doctype/kilometer_mapping_items_temp/kilometer_mapping_items_temp.py
-smart_service/transactions/doctype/pro/__init__.py
-smart_service/transactions/doctype/pro/pro.js
-smart_service/transactions/doctype/pro/pro.json
-smart_service/transactions/doctype/pro/pro.py
-smart_service/transactions/doctype/pro/test_pro.py
-smart_service/transactions/doctype/procedure/__init__.py
-smart_service/transactions/doctype/procedure/procedure.js
-smart_service/transactions/doctype/procedure/procedure.json
-smart_service/transactions/doctype/procedure/procedure.py
-smart_service/transactions/doctype/procedure/test_procedure.py
-smart_service/transactions/doctype/procedure_details/__init__.py
-smart_service/transactions/doctype/procedure_details/procedure_details.json
-smart_service/transactions/doctype/procedure_details/procedure_details.py
-smart_service/transactions/doctype/procedure_name/__init__.py
-smart_service/transactions/doctype/procedure_name/procedure_name.js
-smart_service/transactions/doctype/procedure_name/procedure_name.json
-smart_service/transactions/doctype/procedure_name/procedure_name.py
-smart_service/transactions/doctype/procedure_name/test_procedure_name.py
-smart_service/transactions/doctype/procedure_procedure_list/__init__.py
-smart_service/transactions/doctype/procedure_procedure_list/procedure_procedure_list.json
-smart_service/transactions/doctype/procedure_procedure_list/procedure_procedure_list.py
-smart_service/transactions/doctype/procedure_step_name/__init__.py
-smart_service/transactions/doctype/procedure_step_name/procedure_step_name.js
-smart_service/transactions/doctype/procedure_step_name/procedure_step_name.json
-smart_service/transactions/doctype/procedure_step_name/procedure_step_name.py
-smart_service/transactions/doctype/procedure_step_name/test_procedure_step_name.py
-smart_service/transactions/doctype/publish/__init__.py
-smart_service/transactions/doctype/publish/publish.js
-smart_service/transactions/doctype/publish/publish.json
-smart_service/transactions/doctype/publish/publish.py
-smart_service/transactions/doctype/publish/test_publish.py
-smart_service/transactions/doctype/publish/jsonData/procedurePublish.json
-smart_service/transactions/doctype/publish/jsonData/vech.json
-smart_service/transactions/doctype/publish_docs/__init__.py
-smart_service/transactions/doctype/publish_docs/publish_docs.json
-smart_service/transactions/doctype/publish_docs/publish_docs.py
-smart_service/transactions/doctype/publish_temp_doc/__init__.py
-smart_service/transactions/doctype/publish_temp_doc/publish_temp_doc.json
-smart_service/transactions/doctype/publish_temp_doc/publish_temp_doc.py
-smart_service/transactions/doctype/publish_variant_mapping_assets/__init__.py
-smart_service/transactions/doctype/publish_variant_mapping_assets/publish_variant_mapping_assets.js
-smart_service/transactions/doctype/publish_variant_mapping_assets/publish_variant_mapping_assets.json
-smart_service/transactions/doctype/publish_variant_mapping_assets/publish_variant_mapping_assets.py
-smart_service/transactions/doctype/publish_variant_mapping_assets/test_publish_variant_mapping_assets.py
-smart_service/transactions/doctype/system_mapping/__init__.py
-smart_service/transactions/doctype/system_mapping/system_mapping.js
-smart_service/transactions/doctype/system_mapping/system_mapping.json
-smart_service/transactions/doctype/system_mapping/system_mapping.py
-smart_service/transactions/doctype/system_mapping/test_system_mapping.py
-smart_service/transactions/doctype/system_mapping_sub_system/__init__.py
-smart_service/transactions/doctype/system_mapping_sub_system/system_mapping_sub_system.json
-smart_service/transactions/doctype/system_mapping_sub_system/system_mapping_sub_system.py
-smart_service/transactions/doctype/system_mapping_system_assets/__init__.py
-smart_service/transactions/doctype/system_mapping_system_assets/system_mapping_system_assets.json
-smart_service/transactions/doctype/system_mapping_system_assets/system_mapping_system_assets.py
-smart_service/transactions/doctype/variant_mapping/__init__.py
-smart_service/transactions/doctype/variant_mapping/test_variant_mapping.py
-smart_service/transactions/doctype/variant_mapping/variant_mapping.js
-smart_service/transactions/doctype/variant_mapping/variant_mapping.json
-smart_service/transactions/doctype/variant_mapping/variant_mapping.py
-smart_service/transactions/doctype/variant_mapping_assets/__init__.py
-smart_service/transactions/doctype/variant_mapping_assets/variant_mapping_assets.json
-smart_service/transactions/doctype/variant_mapping_assets/variant_mapping_assets.py
-smart_service/transactions/doctype/variant_mapping_sk/__init__.py
-smart_service/transactions/doctype/variant_mapping_sk/variant_mapping_sk.json
-smart_service/transactions/doctype/variant_mapping_sk/variant_mapping_sk.py
-smart_service/transactions/report/__init__.py
-smart_service/transactions/report/audit_report/__init__.py
-smart_service/transactions/report/audit_report/audit_report.js
-smart_service/transactions/report/audit_report/audit_report.json
-smart_service/transactions/report/audit_report/audit_report.py
-smart_service/transactions/report/kilometer_mapping/__init__.py
-smart_service/transactions/report/kilometer_mapping/kilometer_mapping.js
-smart_service/transactions/report/kilometer_mapping/kilometer_mapping.json
-smart_service/transactions/report/kilometer_mapping/kilometer_mapping.py
-smart_service/www/demofile2.txt
-smart_service/www/login.html
-smart_service/www/login.py
\ No newline at end of file
diff --git a/smart_service.egg-info/dependency_links.txt b/smart_service.egg-info/dependency_links.txt
deleted file mode 100644
index 8b13789..0000000
--- a/smart_service.egg-info/dependency_links.txt
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/smart_service.egg-info/not-zip-safe b/smart_service.egg-info/not-zip-safe
deleted file mode 100644
index 8b13789..0000000
--- a/smart_service.egg-info/not-zip-safe
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/smart_service.egg-info/top_level.txt b/smart_service.egg-info/top_level.txt
deleted file mode 100644
index 99d013d..0000000
--- a/smart_service.egg-info/top_level.txt
+++ /dev/null
@@ -1 +0,0 @@
-smart_service
diff --git a/smart_service/__pycache__/__init__.cpython-38.pyc b/smart_service/__pycache__/__init__.cpython-38.pyc
index b58926a..b292cfc 100644
Binary files a/smart_service/__pycache__/__init__.cpython-38.pyc and b/smart_service/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/__pycache__/hooks.cpython-38.pyc b/smart_service/__pycache__/hooks.cpython-38.pyc
index a7fdc44..d4a13e7 100644
Binary files a/smart_service/__pycache__/hooks.cpython-38.pyc and b/smart_service/__pycache__/hooks.cpython-38.pyc differ
diff --git a/smart_service/add_ons/__pycache__/__init__.cpython-38.pyc b/smart_service/add_ons/__pycache__/__init__.cpython-38.pyc
index 33222d4..5448894 100644
Binary files a/smart_service/add_ons/__pycache__/__init__.cpython-38.pyc and b/smart_service/add_ons/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/add_ons/doctype/__pycache__/__init__.cpython-38.pyc b/smart_service/add_ons/doctype/__pycache__/__init__.cpython-38.pyc
index 0078574..dd4d856 100644
Binary files a/smart_service/add_ons/doctype/__pycache__/__init__.cpython-38.pyc and b/smart_service/add_ons/doctype/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/add_ons/doctype/app_dealer/__pycache__/__init__.cpython-38.pyc b/smart_service/add_ons/doctype/app_dealer/__pycache__/__init__.cpython-38.pyc
index f4090d7..86fa2f7 100644
Binary files a/smart_service/add_ons/doctype/app_dealer/__pycache__/__init__.cpython-38.pyc and b/smart_service/add_ons/doctype/app_dealer/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/add_ons/doctype/app_dealer/__pycache__/app_dealer.cpython-38.pyc b/smart_service/add_ons/doctype/app_dealer/__pycache__/app_dealer.cpython-38.pyc
index 62c9c6c..0c13f7e 100644
Binary files a/smart_service/add_ons/doctype/app_dealer/__pycache__/app_dealer.cpython-38.pyc and b/smart_service/add_ons/doctype/app_dealer/__pycache__/app_dealer.cpython-38.pyc differ
diff --git a/smart_service/add_ons/doctype/app_device/__pycache__/__init__.cpython-38.pyc b/smart_service/add_ons/doctype/app_device/__pycache__/__init__.cpython-38.pyc
index 27c3332..bad1a28 100644
Binary files a/smart_service/add_ons/doctype/app_device/__pycache__/__init__.cpython-38.pyc and b/smart_service/add_ons/doctype/app_device/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/add_ons/doctype/app_device/__pycache__/app_device.cpython-38.pyc b/smart_service/add_ons/doctype/app_device/__pycache__/app_device.cpython-38.pyc
index 9411daf..7faf330 100644
Binary files a/smart_service/add_ons/doctype/app_device/__pycache__/app_device.cpython-38.pyc and b/smart_service/add_ons/doctype/app_device/__pycache__/app_device.cpython-38.pyc differ
diff --git a/smart_service/add_ons/doctype/app_log/__pycache__/__init__.cpython-38.pyc b/smart_service/add_ons/doctype/app_log/__pycache__/__init__.cpython-38.pyc
index c89df67..5d173d9 100644
Binary files a/smart_service/add_ons/doctype/app_log/__pycache__/__init__.cpython-38.pyc and b/smart_service/add_ons/doctype/app_log/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/add_ons/doctype/app_log/__pycache__/app_log.cpython-38.pyc b/smart_service/add_ons/doctype/app_log/__pycache__/app_log.cpython-38.pyc
index adb851f..935b11b 100644
Binary files a/smart_service/add_ons/doctype/app_log/__pycache__/app_log.cpython-38.pyc and b/smart_service/add_ons/doctype/app_log/__pycache__/app_log.cpython-38.pyc differ
diff --git a/smart_service/add_ons/doctype/app_preference/__pycache__/__init__.cpython-38.pyc b/smart_service/add_ons/doctype/app_preference/__pycache__/__init__.cpython-38.pyc
index 30527e9..23228c6 100644
Binary files a/smart_service/add_ons/doctype/app_preference/__pycache__/__init__.cpython-38.pyc and b/smart_service/add_ons/doctype/app_preference/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/add_ons/doctype/app_preference/__pycache__/app_preference.cpython-38.pyc b/smart_service/add_ons/doctype/app_preference/__pycache__/app_preference.cpython-38.pyc
index 5160685..e280073 100644
Binary files a/smart_service/add_ons/doctype/app_preference/__pycache__/app_preference.cpython-38.pyc and b/smart_service/add_ons/doctype/app_preference/__pycache__/app_preference.cpython-38.pyc differ
diff --git a/smart_service/add_ons/doctype/app_users/__pycache__/__init__.cpython-38.pyc b/smart_service/add_ons/doctype/app_users/__pycache__/__init__.cpython-38.pyc
index 59e0703..a31a949 100644
Binary files a/smart_service/add_ons/doctype/app_users/__pycache__/__init__.cpython-38.pyc and b/smart_service/add_ons/doctype/app_users/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/add_ons/doctype/app_users/__pycache__/app_users.cpython-38.pyc b/smart_service/add_ons/doctype/app_users/__pycache__/app_users.cpython-38.pyc
index d52407b..1512aed 100644
Binary files a/smart_service/add_ons/doctype/app_users/__pycache__/app_users.cpython-38.pyc and b/smart_service/add_ons/doctype/app_users/__pycache__/app_users.cpython-38.pyc differ
diff --git a/smart_service/add_ons/doctype/application_menu/__pycache__/__init__.cpython-38.pyc b/smart_service/add_ons/doctype/application_menu/__pycache__/__init__.cpython-38.pyc
index 6cc4e9f..7885aaa 100644
Binary files a/smart_service/add_ons/doctype/application_menu/__pycache__/__init__.cpython-38.pyc and b/smart_service/add_ons/doctype/application_menu/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/add_ons/doctype/application_menu/__pycache__/application_menu.cpython-38.pyc b/smart_service/add_ons/doctype/application_menu/__pycache__/application_menu.cpython-38.pyc
index c78a596..3ee88a3 100644
Binary files a/smart_service/add_ons/doctype/application_menu/__pycache__/application_menu.cpython-38.pyc and b/smart_service/add_ons/doctype/application_menu/__pycache__/application_menu.cpython-38.pyc differ
diff --git a/smart_service/add_ons/doctype/bookmark/__pycache__/__init__.cpython-38.pyc b/smart_service/add_ons/doctype/bookmark/__pycache__/__init__.cpython-38.pyc
index b383789..ca99ce2 100644
Binary files a/smart_service/add_ons/doctype/bookmark/__pycache__/__init__.cpython-38.pyc and b/smart_service/add_ons/doctype/bookmark/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/add_ons/doctype/bookmark/__pycache__/bookmark.cpython-38.pyc b/smart_service/add_ons/doctype/bookmark/__pycache__/bookmark.cpython-38.pyc
index b2a2486..f17a1dd 100644
Binary files a/smart_service/add_ons/doctype/bookmark/__pycache__/bookmark.cpython-38.pyc and b/smart_service/add_ons/doctype/bookmark/__pycache__/bookmark.cpython-38.pyc differ
diff --git a/smart_service/add_ons/doctype/circular/__pycache__/__init__.cpython-38.pyc b/smart_service/add_ons/doctype/circular/__pycache__/__init__.cpython-38.pyc
index 9daf7ea..f34646c 100644
Binary files a/smart_service/add_ons/doctype/circular/__pycache__/__init__.cpython-38.pyc and b/smart_service/add_ons/doctype/circular/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/add_ons/doctype/circular/__pycache__/circular.cpython-38.pyc b/smart_service/add_ons/doctype/circular/__pycache__/circular.cpython-38.pyc
index c2da72d..166a244 100644
Binary files a/smart_service/add_ons/doctype/circular/__pycache__/circular.cpython-38.pyc and b/smart_service/add_ons/doctype/circular/__pycache__/circular.cpython-38.pyc differ
diff --git a/smart_service/masters/doctype/asset_360/__init__.py b/smart_service/add_ons/doctype/gss_user_manual/__init__.py
similarity index 100%
rename from smart_service/masters/doctype/asset_360/__init__.py
rename to smart_service/add_ons/doctype/gss_user_manual/__init__.py
diff --git a/smart_service/masters/doctype/competitor/competitor.js b/smart_service/add_ons/doctype/gss_user_manual/gss_user_manual.js
similarity index 80%
rename from smart_service/masters/doctype/competitor/competitor.js
rename to smart_service/add_ons/doctype/gss_user_manual/gss_user_manual.js
index c857ed0..008e938 100644
--- a/smart_service/masters/doctype/competitor/competitor.js
+++ b/smart_service/add_ons/doctype/gss_user_manual/gss_user_manual.js
@@ -1,7 +1,7 @@
// Copyright (c) 2022, Hard n Soft Technologies Pvt Ltd and contributors
// For license information, please see license.txt
-frappe.ui.form.on('Competitor', {
+frappe.ui.form.on('GSS User Manual', {
// refresh: function(frm) {
// }
diff --git a/smart_service/masters/doctype/six_reasons_to_buy/six_reasons_to_buy.json b/smart_service/add_ons/doctype/gss_user_manual/gss_user_manual.json
similarity index 52%
rename from smart_service/masters/doctype/six_reasons_to_buy/six_reasons_to_buy.json
rename to smart_service/add_ons/doctype/gss_user_manual/gss_user_manual.json
index ea70991..9554162 100644
--- a/smart_service/masters/doctype/six_reasons_to_buy/six_reasons_to_buy.json
+++ b/smart_service/add_ons/doctype/gss_user_manual/gss_user_manual.json
@@ -1,56 +1,36 @@
{
"actions": [],
- "autoname": "format:{vehicle}.{title}",
- "creation": "2022-02-12 20:05:59.552613",
+ "autoname": "format:{title}",
+ "creation": "2022-02-21 15:52:07.008072",
"doctype": "DocType",
"editable_grid": 1,
"engine": "InnoDB",
"field_order": [
- "vehicle",
"title",
- "description",
- "image"
+ "content"
],
"fields": [
{
"fieldname": "title",
"fieldtype": "Data",
"in_list_view": 1,
- "in_standard_filter": 1,
"label": "Title",
"reqd": 1
},
{
- "fieldname": "description",
- "fieldtype": "Small Text",
+ "fieldname": "content",
+ "fieldtype": "Text Editor",
"in_list_view": 1,
- "in_standard_filter": 1,
- "label": "Description",
- "reqd": 1
- },
- {
- "fieldname": "image",
- "fieldtype": "Attach Image",
- "label": "Image",
- "reqd": 1
- },
- {
- "fieldname": "vehicle",
- "fieldtype": "Link",
- "in_list_view": 1,
- "in_standard_filter": 1,
- "label": "Vehicle",
- "options": "Vehicle",
+ "label": "Content",
"reqd": 1
}
],
- "image_field": "image",
"index_web_pages_for_search": 1,
"links": [],
- "modified": "2022-02-13 04:40:25.915820",
+ "modified": "2022-02-21 16:53:29.698081",
"modified_by": "Administrator",
- "module": "Masters",
- "name": "Six Reasons to Buy",
+ "module": "Add Ons",
+ "name": "GSS User Manual",
"owner": "Administrator",
"permissions": [
{
@@ -64,6 +44,27 @@
"role": "System Manager",
"share": 1,
"write": 1
+ },
+ {
+ "create": 1,
+ "delete": 1,
+ "email": 1,
+ "export": 1,
+ "print": 1,
+ "read": 1,
+ "report": 1,
+ "role": "GSS User Manual Editor",
+ "share": 1,
+ "write": 1
+ },
+ {
+ "email": 1,
+ "export": 1,
+ "print": 1,
+ "read": 1,
+ "report": 1,
+ "role": "All",
+ "share": 1
}
],
"sort_field": "modified",
diff --git a/smart_service/masters/doctype/dealer/dealer.py b/smart_service/add_ons/doctype/gss_user_manual/gss_user_manual.py
similarity index 85%
rename from smart_service/masters/doctype/dealer/dealer.py
rename to smart_service/add_ons/doctype/gss_user_manual/gss_user_manual.py
index 575bf7e..096339a 100644
--- a/smart_service/masters/doctype/dealer/dealer.py
+++ b/smart_service/add_ons/doctype/gss_user_manual/gss_user_manual.py
@@ -4,5 +4,5 @@
# import frappe
from frappe.model.document import Document
-class Dealer(Document):
+class GSSUserManual(Document):
pass
diff --git a/smart_service/masters/doctype/competitor/test_competitor.py b/smart_service/add_ons/doctype/gss_user_manual/test_gss_user_manual.py
similarity index 74%
rename from smart_service/masters/doctype/competitor/test_competitor.py
rename to smart_service/add_ons/doctype/gss_user_manual/test_gss_user_manual.py
index d2bd965..976e143 100644
--- a/smart_service/masters/doctype/competitor/test_competitor.py
+++ b/smart_service/add_ons/doctype/gss_user_manual/test_gss_user_manual.py
@@ -4,5 +4,5 @@
# import frappe
import unittest
-class TestCompetitor(unittest.TestCase):
+class TestGSSUserManual(unittest.TestCase):
pass
diff --git a/smart_service/add_ons/doctype/model_hit/__pycache__/__init__.cpython-38.pyc b/smart_service/add_ons/doctype/model_hit/__pycache__/__init__.cpython-38.pyc
index 9223ad7..5df461f 100644
Binary files a/smart_service/add_ons/doctype/model_hit/__pycache__/__init__.cpython-38.pyc and b/smart_service/add_ons/doctype/model_hit/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/add_ons/doctype/model_hit/__pycache__/model_hit.cpython-38.pyc b/smart_service/add_ons/doctype/model_hit/__pycache__/model_hit.cpython-38.pyc
index b9457ca..0d77ea1 100644
Binary files a/smart_service/add_ons/doctype/model_hit/__pycache__/model_hit.cpython-38.pyc and b/smart_service/add_ons/doctype/model_hit/__pycache__/model_hit.cpython-38.pyc differ
diff --git a/smart_service/add_ons/doctype/model_usage/__pycache__/__init__.cpython-38.pyc b/smart_service/add_ons/doctype/model_usage/__pycache__/__init__.cpython-38.pyc
index 8a461ed..2be86dc 100644
Binary files a/smart_service/add_ons/doctype/model_usage/__pycache__/__init__.cpython-38.pyc and b/smart_service/add_ons/doctype/model_usage/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/add_ons/doctype/model_usage/__pycache__/model_usage.cpython-38.pyc b/smart_service/add_ons/doctype/model_usage/__pycache__/model_usage.cpython-38.pyc
index 65cf493..3a82c5e 100644
Binary files a/smart_service/add_ons/doctype/model_usage/__pycache__/model_usage.cpython-38.pyc and b/smart_service/add_ons/doctype/model_usage/__pycache__/model_usage.cpython-38.pyc differ
diff --git a/smart_service/add_ons/doctype/teknet_group/__pycache__/__init__.cpython-38.pyc b/smart_service/add_ons/doctype/teknet_group/__pycache__/__init__.cpython-38.pyc
index 258ff7f..24e0b4b 100644
Binary files a/smart_service/add_ons/doctype/teknet_group/__pycache__/__init__.cpython-38.pyc and b/smart_service/add_ons/doctype/teknet_group/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/add_ons/doctype/teknet_group/__pycache__/teknet_group.cpython-38.pyc b/smart_service/add_ons/doctype/teknet_group/__pycache__/teknet_group.cpython-38.pyc
index 7e366fe..5cf6f67 100644
Binary files a/smart_service/add_ons/doctype/teknet_group/__pycache__/teknet_group.cpython-38.pyc and b/smart_service/add_ons/doctype/teknet_group/__pycache__/teknet_group.cpython-38.pyc differ
diff --git a/smart_service/add_ons/doctype/teknet_module/__pycache__/__init__.cpython-38.pyc b/smart_service/add_ons/doctype/teknet_module/__pycache__/__init__.cpython-38.pyc
index 359d3ff..87dabc5 100644
Binary files a/smart_service/add_ons/doctype/teknet_module/__pycache__/__init__.cpython-38.pyc and b/smart_service/add_ons/doctype/teknet_module/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/add_ons/doctype/teknet_module/__pycache__/teknet_module.cpython-38.pyc b/smart_service/add_ons/doctype/teknet_module/__pycache__/teknet_module.cpython-38.pyc
index 605d3de..61b0108 100644
Binary files a/smart_service/add_ons/doctype/teknet_module/__pycache__/teknet_module.cpython-38.pyc and b/smart_service/add_ons/doctype/teknet_module/__pycache__/teknet_module.cpython-38.pyc differ
diff --git a/smart_service/add_ons/doctype/user_feedback/__pycache__/__init__.cpython-38.pyc b/smart_service/add_ons/doctype/user_feedback/__pycache__/__init__.cpython-38.pyc
index 69ffda2..defea26 100644
Binary files a/smart_service/add_ons/doctype/user_feedback/__pycache__/__init__.cpython-38.pyc and b/smart_service/add_ons/doctype/user_feedback/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/add_ons/doctype/user_feedback/__pycache__/user_feedback.cpython-38.pyc b/smart_service/add_ons/doctype/user_feedback/__pycache__/user_feedback.cpython-38.pyc
index 7219fe9..632e808 100644
Binary files a/smart_service/add_ons/doctype/user_feedback/__pycache__/user_feedback.cpython-38.pyc and b/smart_service/add_ons/doctype/user_feedback/__pycache__/user_feedback.cpython-38.pyc differ
diff --git a/smart_service/add_ons/doctype/user_feedback_types/__pycache__/__init__.cpython-38.pyc b/smart_service/add_ons/doctype/user_feedback_types/__pycache__/__init__.cpython-38.pyc
index d2f8a00..a9fe0b3 100644
Binary files a/smart_service/add_ons/doctype/user_feedback_types/__pycache__/__init__.cpython-38.pyc and b/smart_service/add_ons/doctype/user_feedback_types/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/add_ons/doctype/user_feedback_types/__pycache__/user_feedback_types.cpython-38.pyc b/smart_service/add_ons/doctype/user_feedback_types/__pycache__/user_feedback_types.cpython-38.pyc
index b7cd0f8..19d5036 100644
Binary files a/smart_service/add_ons/doctype/user_feedback_types/__pycache__/user_feedback_types.cpython-38.pyc and b/smart_service/add_ons/doctype/user_feedback_types/__pycache__/user_feedback_types.cpython-38.pyc differ
diff --git a/smart_service/add_ons/doctype/user_manual/__pycache__/__init__.cpython-38.pyc b/smart_service/add_ons/doctype/user_manual/__pycache__/__init__.cpython-38.pyc
index 8429be0..eae4a29 100644
Binary files a/smart_service/add_ons/doctype/user_manual/__pycache__/__init__.cpython-38.pyc and b/smart_service/add_ons/doctype/user_manual/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/add_ons/doctype/user_manual/__pycache__/user_manual.cpython-38.pyc b/smart_service/add_ons/doctype/user_manual/__pycache__/user_manual.cpython-38.pyc
index 3a0e719..0f2fead 100644
Binary files a/smart_service/add_ons/doctype/user_manual/__pycache__/user_manual.cpython-38.pyc and b/smart_service/add_ons/doctype/user_manual/__pycache__/user_manual.cpython-38.pyc differ
diff --git a/smart_service/apis/__pycache__/addon_api.cpython-38.pyc b/smart_service/apis/__pycache__/addon_api.cpython-38.pyc
index 191ef20..3f38dba 100644
Binary files a/smart_service/apis/__pycache__/addon_api.cpython-38.pyc and b/smart_service/apis/__pycache__/addon_api.cpython-38.pyc differ
diff --git a/smart_service/apis/__pycache__/app_user_login.cpython-38.pyc b/smart_service/apis/__pycache__/app_user_login.cpython-38.pyc
index 658db60..7f3cde9 100644
Binary files a/smart_service/apis/__pycache__/app_user_login.cpython-38.pyc and b/smart_service/apis/__pycache__/app_user_login.cpython-38.pyc differ
diff --git a/smart_service/apis/__pycache__/master_api.cpython-38.pyc b/smart_service/apis/__pycache__/master_api.cpython-38.pyc
index a9c0920..60a4d35 100644
Binary files a/smart_service/apis/__pycache__/master_api.cpython-38.pyc and b/smart_service/apis/__pycache__/master_api.cpython-38.pyc differ
diff --git a/smart_service/apis/__pycache__/publish_api.cpython-38.pyc b/smart_service/apis/__pycache__/publish_api.cpython-38.pyc
index 11fa8a8..8f66f57 100644
Binary files a/smart_service/apis/__pycache__/publish_api.cpython-38.pyc and b/smart_service/apis/__pycache__/publish_api.cpython-38.pyc differ
diff --git a/smart_service/apis/addon_api.py b/smart_service/apis/addon_api.py
index e42fde5..69bacb4 100644
--- a/smart_service/apis/addon_api.py
+++ b/smart_service/apis/addon_api.py
@@ -8,9 +8,6 @@ current_db_name = frappe.conf.get("db_name")
@frappe.whitelist()
def addon(args):
if args == "circular":
- # api = frappe.db.get_list(
- # "Circular", fields=["name", "title", "status", "description","circular_image", "valid_till"],
- # filters={"valid_till": [">=", frappe.utils.today()]})
api = frappe.db.sql('''SELECT name,title,status,description,circular_image as FileUrl,valid_till as validity from {}.tabCircular WHERE valid_till >='{}' '''.format(current_db_name,frappe.utils.today()),as_dict= True)
for i in api:
if i["status"] == "Active":
@@ -134,6 +131,7 @@ def feedback(args, request):
usr_fdbk.date = request["Date"]
usr_fdbk.save()
return usr_fdbk.name
+
@frappe.whitelist()
def model_hit(args, request):
diff --git a/smart_service/apis/app_user_login.py b/smart_service/apis/app_user_login.py
index 69dad9b..637e2b9 100644
--- a/smart_service/apis/app_user_login.py
+++ b/smart_service/apis/app_user_login.py
@@ -1,4 +1,5 @@
import frappe
+import time
from frappe.model.document import Document
import json
import requests
@@ -8,6 +9,7 @@ import xml.etree.ElementTree as ET
from copy import copy
current_db_name = frappe.conf.get("db_name")
+now_datetime=now()
@frappe.whitelist(allow_guest=True)
def app_user_validation(usr, pwd):
@@ -222,28 +224,41 @@ def grant_user_access(userdata,iid):
app_device.os = os
app_device.os_version = os_version
app_device.app_current_version = app_current_version
- app_device.last_login = now()
+ app_device.last_login = now_datetime
app_device.insert()
if frappe.db.exists({'doctype':'App Device','device_id' : device_id}):
+ frappe.db.sql('''UPDATE {2}.`tabApp Device` SET active_status= "{1}" where device_id = "{0}";'''.format(device_id, "Inactive", current_db_name))
+ frappe.db.commit()
+ time.sleep(1)
app_user1=frappe.get_last_doc('App Users', filters={"email_id": email})
app_device1=frappe.get_last_doc('App Device', filters={"device_id": device_id})
+
+ # frappe.db.sql('''UPDATE {2}.`tabApp Device` SET active_status= "{1}" where device_id = "{0}";'''.format(device_id, "Inactive", current_db_name))
+ # frappe.db.commit()
+
app_logs = frappe.new_doc('App Log')
app_logs.user = app_user1.name
app_logs.device = app_device.name
app_logs.type = 'Reinstalled'
app_logs.latitude = latitude
app_logs.longitude = longitude
- app_logs.date_time_stamp = now()
+ app_logs.active_status = 'Active'
+ app_logs.date_time_stamp = now_datetime
app_logs.insert()
+ app_device_tmp=frappe.get_last_doc('App Device', filters={"device_id": device_id})
+ frappe.db.sql('''UPDATE {2}.`tabApp Device` SET active_status= "{1}" where name = "{0}";'''.format(app_device_tmp.name, "Active", current_db_name))
+ frappe.db.commit()
+
+
app_logs3 = frappe.new_doc('App Log')
app_logs3.user = app_user1.name
app_logs3.device = app_device.name
app_logs3.type = 'Logged in'
app_logs3.latitude = latitude
app_logs3.longitude = longitude
- app_logs3.date_time_stamp = now()
+ app_logs3.date_time_stamp = now_datetime
app_logs3.insert()
else:
@@ -253,9 +268,10 @@ def grant_user_access(userdata,iid):
app_logs.user = app_user1.name
app_logs.device = app_device.name
app_logs.type = 'Installed'
+ app_logs.active_status = 'Active'
app_logs.latitude = latitude
app_logs.longitude = longitude
- app_logs.date_time_stamp = now()
+ app_logs.date_time_stamp = now_datetime
app_logs.save()
app_logs4 = frappe.new_doc('App Log')
@@ -264,12 +280,12 @@ def grant_user_access(userdata,iid):
app_logs4.type = 'Logged in'
app_logs4.latitude = latitude
app_logs4.longitude = longitude
- app_logs4.date_time_stamp = now()
+ app_logs4.date_time_stamp = now_datetime
app_logs4.save()
else :
- frappe.db.sql('''UPDATE {4}.`tabApp Device` set last_logged_in= '{0}', user_name = '{2}', device_type = '{3}' where name = "{1}";'''.format(now(),iid,email,user_type_desc,current_db_name))
+ frappe.db.sql('''UPDATE {4}.`tabApp Device` set last_logged_in= '{0}', user_name = '{2}', device_type = '{3}' where name = "{1}";'''.format(now_datetime,iid,email,user_type_desc,current_db_name))
frappe.db.commit()
app_user2=frappe.get_last_doc('App Users', filters={"email_id": email})
app_logs = frappe.new_doc('App Log')
@@ -278,7 +294,7 @@ def grant_user_access(userdata,iid):
app_logs.type = 'Logged in'
app_logs.latitude = latitude
app_logs.longitude = longitude
- app_logs.date_time_stamp = now()
+ app_logs.date_time_stamp = now_datetime
app_logs.save()
''' create user with role system manager '''
diff --git a/smart_service/fixtures/client_script.json b/smart_service/fixtures/client_script.json
index 7308a26..3ed6931 100644
--- a/smart_service/fixtures/client_script.json
+++ b/smart_service/fixtures/client_script.json
@@ -17,12 +17,12 @@
"doctype": "Client Script",
"dt": "Procedure",
"enabled": 1,
- "modified": "2022-03-01 13:02:10.089148",
+ "modified": "2022-03-04 16:44:26.162097",
"name": "Procedure-Form",
"parent": null,
"parentfield": null,
"parenttype": null,
- "script": "var trigger = true;\n\ncur_frm.fields_dict['variant_mapping'].get_query = function(doc, cdt, cdn) {\n return {query:\"smart_service.transactions.doctype.procedure.procedure.variant\",};\n};\ncur_frm.fields_dict['sub_systems'].get_query = function(doc, cdt, cdn) {\n return {query:\"smart_service.transactions.doctype.procedure.procedure.sub_systems\",};\n};\n\nfrappe.ui.form.on('Procedure', {\n onload: function (frm) {\n if (frm.doc.workflow_state == 'Publish Ready'){\n frm.set_read_only();\n }\n },\n procedure_details_on_form_rendered: function(frm,cdt,cdn){\n\t\tcur_frm.cscript.highlight_row(frm.open_grid_row());\n\t\t\n\t},\n validate: function(frm){\n frm.doc.procedure_filter = \"All\";\n if(frm.doc.procedure_filter == \"All\"){\n frm.get_field('procedure_details').grid.static_rows = false;\n frm.fields_dict.procedure_details.grid.grid_rows.forEach((row) => {\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').show();\n });\n }\n\n frm.refresh();\n },\n refresh: function (frm) {\n select_row(frm);\n if(frm.doc.procedure_filter == \"All\"){\n frm.get_field('procedure_details').grid.static_rows = false;\n frm.fields_dict.procedure_details.grid.grid_rows.forEach((row) => {\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').show();\n });\n }\n var previous_procedure_name = \"\";\n var previous_step_name = \"\";\n $(\"select[data-fieldname='procedure_filter']\").empty();\n $(\"select[data-fieldname='procedure_filter']\").append(new Option(\"All\", \"All\"));\n $(\"select[data-fieldname='step_filter']\").empty();\n $(\"select[data-fieldname='step_filter']\").append(new Option(\"All\", \"All\"));\n cur_frm.doc.procedure_filter = \"All\";\n cur_frm.doc.step_filter = \"All\";\n frm.fields_dict.procedure_details.grid.grid_rows.forEach((row) => {\n if (row.doc.step_name){\n fn_addSteptolist(row.doc.step_name);\n }\n\n if (row.doc.procedure_name){\n fn_addProceduretolist(row.doc.procedure_name);\n }\n \n if (row.doc.procedure_name == previous_procedure_name){\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').find('div.col[data-fieldname=\"procedure_name\"]').find('a[data-doctype=\"Procedure Name\"]').css({'color': '#EDEDED'});\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').css({'background-color': '#FFFFFF'});\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').css({'border-bottom': '1px Solid #ebeef0'});\n }else{\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').find('div.col[data-fieldname=\"procedure_name\"]').find('a[data-doctype=\"Procedure Name\"]').css({'color': '#000000'});\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').css({'background-color': '#EDEDED'});\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').css({'border-bottom': '1px Solid #7b7c7c'});\n }\n previous_procedure_name = row.doc.procedure_name;\n \n \n if (row.doc.step_name == previous_step_name){\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').find('div.col[data-fieldname=\"step_name\"]').find('a[data-doctype=\"Procedure Step Name\"]').css({'color': '#DFDFDF'});\n }else{\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').find('div.col[data-fieldname=\"step_name\"]').find('a[data-doctype=\"Procedure Step Name\"]').css({'color': '#000000'});\n }\n previous_step_name = row.doc.step_name;\n let id = row.doc.idx;\n\n });\n\n if (frm.doc.workflow_state == \"Publish Ready\" && frappe.user_roles.indexOf(\"_Admin\") > 0){\n frm.add_custom_button(__('Revoke Publish'), function(){\n //get all system mapping with the procedure linked\n frappe.db.get_list('System Mapping_Sub System', {\n fields: ['parent', 'procedure', 'procedure_status'],\n filters: {\n procedure: frm.doc.name\n }\n }).then(records => {\n var html = \"
\";\n $.each(records, function(index, row){\n html = html + \"\" + row.parent + \" | \" +\"\" + row.procedure + \" |
\";\n });\n html = html + \"
\";\n frappe.warn('Are you sure you want to Revoke?',\n 'Since there are System Mappings attached to it!!! ' + html,\n () => {\n frm.set_value(\"workflow_state\",\"Draft\");\n frm.save();\n // action to perform if Continue is selected\n },\n 'Continue', false // Sets dialog as minimizable\n );\n });\n });\n }\n },\n \n procedure_filter: function (frm) {\n //if (!trigger){ trigger = true; return;}\n select_row(frm);\n if (frm.doc.procedure_filter ==\"All\"){\n frm.doc.step_filter = \"All\";\n cur_frm.refresh_field('step_filter');\n frm.get_field('procedure_details').grid.static_rows = false;\n frm.fields_dict.procedure_details.grid.grid_rows.forEach((row) => {\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').show();\n });\n } else {\n frm.get_field('procedure_details').grid.static_rows = false;\n frm.fields_dict.procedure_details.grid.grid_rows.forEach((row) => {\n if (row.doc.procedure_name != frm.doc.procedure_filter){\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').hide();\n } else {\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').show();\n }\n });\n }\n //frm.refresh();\n \n //Filtered by as per step filter\n if(frm.doc.name && frm.is_new() == undefined){\n $(\"select[data-fieldname='step_filter']\").empty();\n\t\t$(\"select[data-fieldname='step_filter']\").append(new Option(\"All\", \"All\"));\n\t\tvar x = frappe.db.get_list('Procedure_Details', {\n\t\t\tfields: ['step_name'],\n\t\t\tfilters: {\n\t\t\t\tprocedure_name: frm.doc.procedure_filter,\n\t\t\t\tparent: frm.doc.name\n\t\t\t}\n\t\t\n\t\t}).then(steps => {\n\t\tvar child;\n\t\t\t$.each(steps, function(index, row){\n\t\t\t\tfn_steplist(row.step_name);\n\t\t\t})\n\t\t})\n }\n \n $(\"select[data-fieldname='step_filter']\").empty();\n\t\t$(\"select[data-fieldname='step_filter']\").append(new Option(\"All\", \"All\"));\n for(var i = 0;i {\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').show();\n });\n } else {\n frm.get_field('procedure_details').grid.static_rows = false;\n frm.fields_dict.procedure_details.grid.grid_rows.forEach((row) => {\n if (row.doc.procedure_name == frm.doc.procedure_filter && row.doc.step_name == frm.doc.step_filter){\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').show();\n }else if(row.doc.procedure_name == frm.doc.procedure_filter && frm.doc.step_filter == \"All\"){\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').show();\n \n }else {\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').hide();\n }\n });\n }\n },\n \n before_workflow_action: (frm) => {\n if ((frm.doc.workflow_state == 'Review Pending' || frm.doc.workflow_state == 'Publish Ready') && (frm.selected_workflow_action == 'Revoke')){\n //frappe.throw(\"Any connected Publish Planning will get affected. Please check!\");\n frappe.call({\n \"method\": \"smart_service.transactions.doctype.procedure.procedure.get_publish_details\",\n \"args\": {\n \"procedure_name\": frm.doc.name,\n \"status\":'Published1',\n \t},\n \tfreeze: true,\n \tasync:false,\n \tcallback:function(r){\n \t var publish_list = r.message;\n \t if (publish_list.length){\n \t var html = \"This Procedure is linked with the following Publish Docs:
\";\n \t publish_list.forEach((array_row) => {\n \t html = html + \"- \" + array_row + \"
\";\n \t });\n \t html = html + \"
\";\n frappe.msgprint({\n title: __('Notification'),\n indicator: 'green',\n message: __(html)\n });\n \t }\n \t}\n });\n }\n },\n mat:function(frm){\n if (!frm.is_new()){\n frappe.msgprint({\n title: __('Notification'),\n indicator: 'green',\n message: __('Updating MAT will impact its connected System Mapping and so with Kilometer Mapping. Please Check!')\n });\n }\n }\n});\n\nfrappe.ui.form.on('Procedure_Details', {\n procedure_name: function (frm,cdt,cdn) {\n var title = frm.doc.procedure_filter;\n frm.fields_dict.procedure_details.grid.grid_rows.forEach((row) => {\n let value = row.doc.procedure_name;\n if (value)\n if ($(\"select[data-fieldname='procedure_filter'] option[value='\" + value + \"']\").length === 0){\n $(\"select[data-fieldname='procedure_filter']\").append(new Option(value, value));\n }\n \n });\n frm.doc.procedure_filter = title;\n // frm.refresh();\n },\n step_name: function (frm,cdt,cdn) {\n // frm.refresh();\n var filtered_step = frm.doc.step_filter;\n frm.fields_dict.procedure_details.grid.grid_rows.forEach((row) => {\n let value = row.doc.step_name;\n if (value && frm.doc.procedure_filter == \"All\"){\n if ($(\"select[data-fieldname='step_filter'] option[value='\" + value + \"']\").length === 0){\n $(\"select[data-fieldname='step_filter']\").append(new Option(value, value));\n }\n }\n if(value && frm.doc.procedure_filter == row.doc.procedure_name){\n fn_stepfilter(row.doc.step_name)\n }\n });\n frm.doc.step_filter = filtered_step;\n\n },\n content_type: function (frm,cdt,cdn) {\n var df;\n let d = locals[cdt][cdn];\n var id = d.idx;\n id = id-1;\n let row = frm.fields_dict.procedure_details.grid.grid_rows[id];\n if (d.content_type == 'Link'){\n let d = new frappe.ui.Dialog({\n title: 'Select a Procedure',\n fields:[\n {\n label: 'Procedure',\n fieldname: 'procedure_map',\n fieldtype: 'Link',\n options:'Procedure'\n }\n ],\n primary_action_label: 'Select',\n primary_action(values) {\n // row.doc.content = values.procedure_map;\n var url = window.location.host;\n var content = values.procedure_map;\n row.doc.temp_cnt = values.procedure_map;\n row.doc.content = content.link(\"http://\" + url + \"/app/procedure/\" + content);\n // row.doc.content = '' + content + '';\n d.hide();\n frm.refresh();\n }\n });\n d.show();\n } else {\n d.content = d.content1;\n }\n },\n procedure_details_move: function (frm,cdt,cdn) {\n frm.refresh();\n },\n procedure_details_remove: function(frm,cdt,cdn){\n frm.doc.procedure_filter = \"All\";\n frm.doc.step_filter = \"All\";\n frm.fields_dict.procedure_details.grid.grid_rows.forEach((row) => {\n if (row.doc.procedure_name){\n fn_addProceduretolist(row.doc.procedure_name);\n }\n })\n frm.refresh_field('procedure_details');\n cur_frm.refresh_fields();\n frm.refresh();\n },\n procedure_details_add: function(frm,cdt,cdn) {\n select_row(frm);\n \tvar d = locals[cdt][cdn];\n \tvar id = d.idx;\n id = id-1;\n var row = frm.fields_dict.procedure_details.grid.grid_rows[id];\n var prevrow = frm.fields_dict.procedure_details.grid.grid_rows[id-1];\n if (frm.doc.procedure_filter == \"All\"){\n if (prevrow !== undefined) {\n row.doc.procedure_name = prevrow.doc.procedure_name;\n row.doc.step_name = prevrow.doc.step_name;\n }\n }else{\n row.doc.procedure_name = frm.doc.procedure_filter;\n row.doc.step_name = prevrow.doc.step_name;\n }\n if (frm.doc.step_filter == \"All\" && frm.doc.procedure_filter == \"All\"){\n if (prevrow !== undefined) {\n row.doc.procedure_name = prevrow.doc.procedure_name;\n row.doc.step_name = prevrow.doc.step_name;\n }\n }\n else if(frm.doc.step_filter == \"All\" && frm.doc.procedure_filter != \"All\"){\n row.doc.procedure_name = frm.doc.procedure_filter;\n row.doc.step_name = prevrow.doc.step_name;\n }else{\n row.doc.procedure_name = frm.doc.procedure_filter;\n row.doc.step_name = frm.doc.step_filter;\n }\n\n frm.fields_dict.procedure_details.grid.grid_rows.forEach((row) => {\n if (row.doc.step_name && row.doc.procedure_name == frm.doc.procedure_filter){\n fn_addSteptolist(row.doc.step_name);\n }\n })\n\n refresh_field(\"procedure_filter\");\n refresh_field(\"step_filter\");\n },\n});\n\nfunction fn_addProceduretolist(value){\n if (value === \"\") {return;}\n if ($(\"select[data-fieldname='procedure_filter'] option[value='\" + value + \"']\").length === 0){\n $(\"select[data-fieldname='procedure_filter']\").append(new Option(value, value));\n }\n}\nfunction fn_addSteptolist(value){\n if (value === \"\") {return;}\n if ($(\"select[data-fieldname='step_filter'] option[value='\" + value + \"']\").length === 0){\n $(\"select[data-fieldname='step_filter']\").append(new Option(value, value));\n }\n}\n\nfunction fn_steplist(value){\n\tif (value === \"\") {return;}\n\t\tif ($(\"select[data-fieldname='step_filter'] option[value='\" + value + \"']\").length === 0){\n\t\t\t$(\"select[data-fieldname='step_filter']\").append(new Option(value, value));\n\t\t}\n}\n\nfunction fn_stepfilter(value){\n\tif (value === \"\") {return;}\n\t \n\t\tif ($(\"select[data-fieldname='step_filter'] option[value='\" + value + \"']\").length === 0){\n\t\t\t$(\"select[data-fieldname='step_filter']\").append(new Option(value, value));\n\t\t}\n}\nfunction select_row(frm){\n if(frm.doc.procedure_filter != \"All\"){\n\t$('div[data-fieldname=procedure_details]').find('div[class=form-grid]').find('div[class=grid-heading-row]').find('div[class=\"row-index sortable-handle col col-xs-1\"]').find('input[class=\"grid-row-check pull-left\"]').css({'visibility': 'hidden'});\n\t}\n\telse{\n\t$('div[data-fieldname=procedure_details]').find('div[class=form-grid]').find('div[class=grid-heading-row]').find('div[class=\"row-index sortable-handle col col-xs-1\"]').find('input[class=\"grid-row-check pull-left\"]').css({'visibility': 'visible'});\n\n\t}\n\n}\ncur_frm.cscript.highlight_row = function(grid_row){\n\tvar idx = grid_row.doc.idx;\n\tcur_frm.fields_dict[\"procedure_details\"].$wrapper.find('.grid-body .rows').find(\".grid-row\").each(function(i, item) {\n\tlet d = locals[cur_frm.fields_dict[\"procedure_details\"].grid.doctype][$(item).attr('data-name')];\n\tif(d[\"idx\"] === idx){\n\t\tgrid_row.toggle_editable_row(true);\n\t}\n\t});\n}\n\n",
+ "script": "var trigger = true;\n\ncur_frm.fields_dict['variant_mapping'].get_query = function(doc, cdt, cdn) {\n return {query:\"smart_service.transactions.doctype.procedure.procedure.variant\",};\n};\ncur_frm.fields_dict['sub_systems'].get_query = function(doc, cdt, cdn) {\n return {query:\"smart_service.transactions.doctype.procedure.procedure.sub_systems\",};\n};\n\nfrappe.ui.form.on('Procedure', {\n onload: function (frm) {\n if (frm.doc.workflow_state == 'Publish Ready'){\n frm.set_read_only();\n }\n var html = \"\";\n html = html + \"HTML Tag | \" + \"How to tag <...>\" + \" | Result |
\" ;\n html = html + \"Bold | \" + \"<b>Using a 10 mm socket.</b>\" + \" | Using a 10 mm socket. |
\" ;\n html = html + \"Break | \" + \"Using a <br>10 mm socket.\" + \" | Using a 10 mm socket. |
\" ;\n html = html + \"Italic | \" + \"<i>Using a 10 mm socket.</i>\" + \" | Using a 10 mm socket. |
\" ;\n html = html + \"Unordered List | \" + \"<ul><li>Using a 10 mm socket.</li><li>the steering fluid line.</li></ul>\" + \" | - Using a 10 mm socket.
- the steering fluid line.
|
\" ;\n html = html + \"Ordered List | \" + \"<ol><li>Using a 10 mm socket.</li><li>the steering fluid line.</li></ol>\" + \" | - Using a 10 mm socket.
- the steering fluid line.
|
\" ;\n html = html + \"
\";\n $(frm.fields_dict.html_reference.wrapper).html(html);\n },\n procedure_details_on_form_rendered: function(frm,cdt,cdn){\n\t\tcur_frm.cscript.highlight_row(frm.open_grid_row());\n\t\t\n\t},\n validate: function(frm){\n frm.doc.procedure_filter = \"All\";\n if(frm.doc.procedure_filter == \"All\"){\n frm.get_field('procedure_details').grid.static_rows = false;\n frm.fields_dict.procedure_details.grid.grid_rows.forEach((row) => {\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').show();\n });\n }\n\n frm.refresh();\n },\n refresh: function (frm) {\n select_row(frm);\n if(frm.doc.procedure_filter == \"All\"){\n frm.get_field('procedure_details').grid.static_rows = false;\n frm.fields_dict.procedure_details.grid.grid_rows.forEach((row) => {\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').show();\n });\n }\n var previous_procedure_name = \"\";\n var previous_step_name = \"\";\n $(\"select[data-fieldname='procedure_filter']\").empty();\n $(\"select[data-fieldname='procedure_filter']\").append(new Option(\"All\", \"All\"));\n $(\"select[data-fieldname='step_filter']\").empty();\n $(\"select[data-fieldname='step_filter']\").append(new Option(\"All\", \"All\"));\n cur_frm.doc.procedure_filter = \"All\";\n cur_frm.doc.step_filter = \"All\";\n frm.fields_dict.procedure_details.grid.grid_rows.forEach((row) => {\n if (row.doc.step_name){\n fn_addSteptolist(row.doc.step_name);\n }\n\n if (row.doc.procedure_name){\n fn_addProceduretolist(row.doc.procedure_name);\n }\n \n if (row.doc.procedure_name == previous_procedure_name){\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').find('div.col[data-fieldname=\"procedure_name\"]').find('a[data-doctype=\"Procedure Name\"]').css({'color': '#EDEDED'});\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').css({'background-color': '#FFFFFF'});\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').css({'border-bottom': '1px Solid #ebeef0'});\n }else{\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').find('div.col[data-fieldname=\"procedure_name\"]').find('a[data-doctype=\"Procedure Name\"]').css({'color': '#000000'});\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').css({'background-color': '#EDEDED'});\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').css({'border-bottom': '1px Solid #7b7c7c'});\n }\n previous_procedure_name = row.doc.procedure_name;\n \n \n if (row.doc.step_name == previous_step_name){\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').find('div.col[data-fieldname=\"step_name\"]').find('a[data-doctype=\"Procedure Step Name\"]').css({'color': '#DFDFDF'});\n }else{\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').find('div.col[data-fieldname=\"step_name\"]').find('a[data-doctype=\"Procedure Step Name\"]').css({'color': '#000000'});\n }\n previous_step_name = row.doc.step_name;\n let id = row.doc.idx;\n\n });\n\n if (frm.doc.workflow_state == \"Publish Ready\" && frappe.user_roles.indexOf(\"_Admin\") > 0){\n frm.add_custom_button(__('Revoke Publish'), function(){\n //get all system mapping with the procedure linked\n frappe.db.get_list('System Mapping_Sub System', {\n fields: ['parent', 'procedure', 'procedure_status'],\n filters: {\n procedure: frm.doc.name\n }\n }).then(records => {\n var html = \"
\";\n $.each(records, function(index, row){\n html = html + \"\" + row.parent + \" | \" +\"\" + row.procedure + \" |
\";\n });\n html = html + \"
\";\n frappe.warn('Are you sure you want to Revoke?',\n 'Since there are System Mappings attached to it!!! ' + html,\n () => {\n frm.set_value(\"workflow_state\",\"Draft\");\n frm.save();\n // action to perform if Continue is selected\n },\n 'Continue', false // Sets dialog as minimizable\n );\n });\n });\n }\n },\n \n procedure_filter: function (frm) {\n //if (!trigger){ trigger = true; return;}\n select_row(frm);\n if (frm.doc.procedure_filter ==\"All\"){\n frm.doc.step_filter = \"All\";\n cur_frm.refresh_field('step_filter');\n frm.get_field('procedure_details').grid.static_rows = false;\n frm.fields_dict.procedure_details.grid.grid_rows.forEach((row) => {\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').show();\n });\n } else {\n frm.get_field('procedure_details').grid.static_rows = false;\n frm.fields_dict.procedure_details.grid.grid_rows.forEach((row) => {\n if (row.doc.procedure_name != frm.doc.procedure_filter){\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').hide();\n } else {\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').show();\n }\n });\n }\n //frm.refresh();\n \n //Filtered by as per step filter\n if(frm.doc.name && frm.is_new() == undefined){\n $(\"select[data-fieldname='step_filter']\").empty();\n\t\t$(\"select[data-fieldname='step_filter']\").append(new Option(\"All\", \"All\"));\n\t\tvar x = frappe.db.get_list('Procedure_Details', {\n\t\t\tfields: ['step_name'],\n\t\t\tfilters: {\n\t\t\t\tprocedure_name: frm.doc.procedure_filter,\n\t\t\t\tparent: frm.doc.name\n\t\t\t}\n\t\t\n\t\t}).then(steps => {\n\t\tvar child;\n\t\t\t$.each(steps, function(index, row){\n\t\t\t\tfn_steplist(row.step_name);\n\t\t\t})\n\t\t})\n }\n \n $(\"select[data-fieldname='step_filter']\").empty();\n\t\t$(\"select[data-fieldname='step_filter']\").append(new Option(\"All\", \"All\"));\n for(var i = 0;i {\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').show();\n });\n } else {\n frm.get_field('procedure_details').grid.static_rows = false;\n frm.fields_dict.procedure_details.grid.grid_rows.forEach((row) => {\n if (row.doc.procedure_name == frm.doc.procedure_filter && row.doc.step_name == frm.doc.step_filter){\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').show();\n }else if(row.doc.procedure_name == frm.doc.procedure_filter && frm.doc.step_filter == \"All\"){\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').show();\n \n }else {\n $(\"div[data-fieldname=procedure_details]\").find('div.grid-row[data-idx=\"'+ row.doc.idx + '\"]').hide();\n }\n });\n }\n },\n \n before_workflow_action: (frm) => {\n if ((frm.doc.workflow_state == 'Review Pending' || frm.doc.workflow_state == 'Publish Ready') && (frm.selected_workflow_action == 'Revoke')){\n //frappe.throw(\"Any connected Publish Planning will get affected. Please check!\");\n frappe.call({\n \"method\": \"smart_service.transactions.doctype.procedure.procedure.get_publish_details\",\n \"args\": {\n \"procedure_name\": frm.doc.name,\n \"status\":'Published1',\n \t},\n \tfreeze: true,\n \tasync:false,\n \tcallback:function(r){\n \t var publish_list = r.message;\n \t if (publish_list.length){\n \t var html = \"This Procedure is linked with the following Publish Docs:
\";\n \t publish_list.forEach((array_row) => {\n \t html = html + \"- \" + array_row + \"
\";\n \t });\n \t html = html + \"
\";\n frappe.msgprint({\n title: __('Notification'),\n indicator: 'green',\n message: __(html)\n });\n \t }\n \t}\n });\n }\n },\n mat:function(frm){\n if (!frm.is_new()){\n frappe.msgprint({\n title: __('Notification'),\n indicator: 'green',\n message: __('Updating MAT will impact its connected System Mapping and so with Kilometer Mapping. Please Check!')\n });\n }\n }\n});\n\nfrappe.ui.form.on('Procedure_Details', {\n procedure_name: function (frm,cdt,cdn) {\n var title = frm.doc.procedure_filter;\n frm.fields_dict.procedure_details.grid.grid_rows.forEach((row) => {\n let value = row.doc.procedure_name;\n if (value)\n if ($(\"select[data-fieldname='procedure_filter'] option[value='\" + value + \"']\").length === 0){\n $(\"select[data-fieldname='procedure_filter']\").append(new Option(value, value));\n }\n \n });\n frm.doc.procedure_filter = title;\n // frm.refresh();\n },\n step_name: function (frm,cdt,cdn) {\n // frm.refresh();\n var filtered_step = frm.doc.step_filter;\n frm.fields_dict.procedure_details.grid.grid_rows.forEach((row) => {\n let value = row.doc.step_name;\n if (value && frm.doc.procedure_filter == \"All\"){\n if ($(\"select[data-fieldname='step_filter'] option[value='\" + value + \"']\").length === 0){\n $(\"select[data-fieldname='step_filter']\").append(new Option(value, value));\n }\n }\n if(value && frm.doc.procedure_filter == row.doc.procedure_name){\n fn_stepfilter(row.doc.step_name)\n }\n });\n frm.doc.step_filter = filtered_step;\n\n },\n content_type: function (frm,cdt,cdn) {\n var df;\n let d = locals[cdt][cdn];\n var id = d.idx;\n id = id-1;\n let row = frm.fields_dict.procedure_details.grid.grid_rows[id];\n if (d.content_type == 'Link'){\n let d = new frappe.ui.Dialog({\n title: 'Select a Procedure',\n fields:[\n {\n label: 'Procedure',\n fieldname: 'procedure_map',\n fieldtype: 'Link',\n options:'Procedure'\n }\n ],\n primary_action_label: 'Select',\n primary_action(values) {\n // row.doc.content = values.procedure_map;\n var url = window.location.host;\n var content = values.procedure_map;\n row.doc.temp_cnt = values.procedure_map;\n row.doc.content = content.link(\"http://\" + url + \"/app/procedure/\" + content);\n // row.doc.content = '' + content + '';\n d.hide();\n frm.refresh();\n }\n });\n d.show();\n } else {\n d.content = d.content1;\n }\n },\n procedure_details_move: function (frm,cdt,cdn) {\n frm.refresh();\n },\n procedure_details_remove: function(frm,cdt,cdn){\n frm.doc.procedure_filter = \"All\";\n frm.doc.step_filter = \"All\";\n frm.fields_dict.procedure_details.grid.grid_rows.forEach((row) => {\n if (row.doc.procedure_name){\n fn_addProceduretolist(row.doc.procedure_name);\n }\n })\n frm.refresh_field('procedure_details');\n cur_frm.refresh_fields();\n frm.refresh();\n },\n procedure_details_add: function(frm,cdt,cdn) {\n select_row(frm);\n \tvar d = locals[cdt][cdn];\n \tvar id = d.idx;\n id = id-1;\n var row = frm.fields_dict.procedure_details.grid.grid_rows[id];\n var prevrow = frm.fields_dict.procedure_details.grid.grid_rows[id-1];\n if (frm.doc.procedure_filter == \"All\"){\n if (prevrow !== undefined) {\n row.doc.procedure_name = prevrow.doc.procedure_name;\n row.doc.step_name = prevrow.doc.step_name;\n }\n }else{\n row.doc.procedure_name = frm.doc.procedure_filter;\n // row.doc.step_name = prevrow.doc.step_name;\n }\n if (frm.doc.step_filter == \"All\" && frm.doc.procedure_filter == \"All\"){\n if (prevrow !== undefined) {\n row.doc.procedure_name = prevrow.doc.procedure_name;\n row.doc.step_name = prevrow.doc.step_name;\n }\n }\n else if(frm.doc.step_filter == \"All\" && frm.doc.procedure_filter != \"All\"){\n row.doc.procedure_name = frm.doc.procedure_filter;\n // row.doc.step_name = prevrow.doc.step_name;\n }else{\n row.doc.procedure_name = frm.doc.procedure_filter;\n row.doc.step_name = frm.doc.step_filter;\n }\n\n frm.fields_dict.procedure_details.grid.grid_rows.forEach((row) => {\n if (row.doc.step_name && row.doc.procedure_name == frm.doc.procedure_filter){\n fn_addSteptolist(row.doc.step_name);\n }\n })\n\n refresh_field(\"procedure_filter\");\n refresh_field(\"step_filter\");\n },\n});\n\nfunction fn_addProceduretolist(value){\n if (value === \"\") {return;}\n if ($(\"select[data-fieldname='procedure_filter'] option[value='\" + value + \"']\").length === 0){\n $(\"select[data-fieldname='procedure_filter']\").append(new Option(value, value));\n }\n}\nfunction fn_addSteptolist(value){\n if (value === \"\") {return;}\n if ($(\"select[data-fieldname='step_filter'] option[value='\" + value + \"']\").length === 0){\n $(\"select[data-fieldname='step_filter']\").append(new Option(value, value));\n }\n}\n\nfunction fn_steplist(value){\n\tif (value === \"\") {return;}\n\t\tif ($(\"select[data-fieldname='step_filter'] option[value='\" + value + \"']\").length === 0){\n\t\t\t$(\"select[data-fieldname='step_filter']\").append(new Option(value, value));\n\t\t}\n}\n\nfunction fn_stepfilter(value){\n\tif (value === \"\") {return;}\n\t \n\t\tif ($(\"select[data-fieldname='step_filter'] option[value='\" + value + \"']\").length === 0){\n\t\t\t$(\"select[data-fieldname='step_filter']\").append(new Option(value, value));\n\t\t}\n}\nfunction select_row(frm){\n if(frm.doc.procedure_filter != \"All\"){\n\t$('div[data-fieldname=procedure_details]').find('div[class=form-grid]').find('div[class=grid-heading-row]').find('div[class=\"row-index sortable-handle col col-xs-1\"]').find('input[class=\"grid-row-check pull-left\"]').css({'visibility': 'hidden'});\n\t}\n\telse{\n\t$('div[data-fieldname=procedure_details]').find('div[class=form-grid]').find('div[class=grid-heading-row]').find('div[class=\"row-index sortable-handle col col-xs-1\"]').find('input[class=\"grid-row-check pull-left\"]').css({'visibility': 'visible'});\n\n\t}\n\n}\ncur_frm.cscript.highlight_row = function(grid_row){\n\tvar idx = grid_row.doc.idx;\n\tcur_frm.fields_dict[\"procedure_details\"].$wrapper.find('.grid-body .rows').find(\".grid-row\").each(function(i, item) {\n\tlet d = locals[cur_frm.fields_dict[\"procedure_details\"].grid.doctype][$(item).attr('data-name')];\n\tif(d[\"idx\"] === idx){\n\t\tgrid_row.toggle_editable_row(true);\n\t}\n\t});\n}\n\n",
"view": "Form"
},
{
diff --git a/smart_service/mahindra_smart_service/__pycache__/__init__.cpython-38.pyc b/smart_service/mahindra_smart_service/__pycache__/__init__.cpython-38.pyc
index 0bbb251..6cb3ec5 100644
Binary files a/smart_service/mahindra_smart_service/__pycache__/__init__.cpython-38.pyc and b/smart_service/mahindra_smart_service/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/mahindra_smart_service/doctype/__pycache__/__init__.cpython-38.pyc b/smart_service/mahindra_smart_service/doctype/__pycache__/__init__.cpython-38.pyc
index b434d19..840432e 100644
Binary files a/smart_service/mahindra_smart_service/doctype/__pycache__/__init__.cpython-38.pyc and b/smart_service/mahindra_smart_service/doctype/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/mahindra_smart_service/doctype/release/__pycache__/__init__.cpython-38.pyc b/smart_service/mahindra_smart_service/doctype/release/__pycache__/__init__.cpython-38.pyc
index f43e951..31c60cb 100644
Binary files a/smart_service/mahindra_smart_service/doctype/release/__pycache__/__init__.cpython-38.pyc and b/smart_service/mahindra_smart_service/doctype/release/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/mahindra_smart_service/doctype/release/__pycache__/release.cpython-38.pyc b/smart_service/mahindra_smart_service/doctype/release/__pycache__/release.cpython-38.pyc
index b4d0d4e..c9f56a4 100644
Binary files a/smart_service/mahindra_smart_service/doctype/release/__pycache__/release.cpython-38.pyc and b/smart_service/mahindra_smart_service/doctype/release/__pycache__/release.cpython-38.pyc differ
diff --git a/smart_service/mahindra_smart_service/doctype/release_docs/__pycache__/__init__.cpython-38.pyc b/smart_service/mahindra_smart_service/doctype/release_docs/__pycache__/__init__.cpython-38.pyc
index 482e9c8..61621fa 100644
Binary files a/smart_service/mahindra_smart_service/doctype/release_docs/__pycache__/__init__.cpython-38.pyc and b/smart_service/mahindra_smart_service/doctype/release_docs/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/mahindra_smart_service/doctype/release_docs/__pycache__/release_docs.cpython-38.pyc b/smart_service/mahindra_smart_service/doctype/release_docs/__pycache__/release_docs.cpython-38.pyc
index 723ebc1..446d14d 100644
Binary files a/smart_service/mahindra_smart_service/doctype/release_docs/__pycache__/release_docs.cpython-38.pyc and b/smart_service/mahindra_smart_service/doctype/release_docs/__pycache__/release_docs.cpython-38.pyc differ
diff --git a/smart_service/mahindra_smart_service/report/__pycache__/__init__.cpython-38.pyc b/smart_service/mahindra_smart_service/report/__pycache__/__init__.cpython-38.pyc
index 76f80b3..5fd391d 100644
Binary files a/smart_service/mahindra_smart_service/report/__pycache__/__init__.cpython-38.pyc and b/smart_service/mahindra_smart_service/report/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/mahindra_smart_service/report/_file_structure/__pycache__/__init__.cpython-38.pyc b/smart_service/mahindra_smart_service/report/_file_structure/__pycache__/__init__.cpython-38.pyc
index 4771ef9..4751f7c 100644
Binary files a/smart_service/mahindra_smart_service/report/_file_structure/__pycache__/__init__.cpython-38.pyc and b/smart_service/mahindra_smart_service/report/_file_structure/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/mahindra_smart_service/report/_file_structure/__pycache__/_file_structure.cpython-38.pyc b/smart_service/mahindra_smart_service/report/_file_structure/__pycache__/_file_structure.cpython-38.pyc
index 00b4205..dfb6769 100644
Binary files a/smart_service/mahindra_smart_service/report/_file_structure/__pycache__/_file_structure.cpython-38.pyc and b/smart_service/mahindra_smart_service/report/_file_structure/__pycache__/_file_structure.cpython-38.pyc differ
diff --git a/smart_service/mahindra_smart_service/report/_file_structure/_file_structure.py b/smart_service/mahindra_smart_service/report/_file_structure/_file_structure.py
index 30fd807..caa7073 100644
--- a/smart_service/mahindra_smart_service/report/_file_structure/_file_structure.py
+++ b/smart_service/mahindra_smart_service/report/_file_structure/_file_structure.py
@@ -4,11 +4,14 @@
import frappe
from frappe import _
import datetime
+from frappe.utils import now
+
def execute(filters=None):
data = files_tree()
columns = get_columns()
+ # frappe.msgprint(str(now()))
return columns, data
diff --git a/smart_service/masters/__pycache__/__init__.cpython-38.pyc b/smart_service/masters/__pycache__/__init__.cpython-38.pyc
index dbdfeb3..62cecd8 100644
Binary files a/smart_service/masters/__pycache__/__init__.cpython-38.pyc and b/smart_service/masters/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/masters/doctype/__pycache__/__init__.cpython-38.pyc b/smart_service/masters/doctype/__pycache__/__init__.cpython-38.pyc
index f070af1..ee026b9 100644
Binary files a/smart_service/masters/doctype/__pycache__/__init__.cpython-38.pyc and b/smart_service/masters/doctype/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/masters/doctype/app_labels/__pycache__/__init__.cpython-38.pyc b/smart_service/masters/doctype/app_labels/__pycache__/__init__.cpython-38.pyc
index 983501a..3eb16a5 100644
Binary files a/smart_service/masters/doctype/app_labels/__pycache__/__init__.cpython-38.pyc and b/smart_service/masters/doctype/app_labels/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/masters/doctype/app_labels/__pycache__/app_labels.cpython-38.pyc b/smart_service/masters/doctype/app_labels/__pycache__/app_labels.cpython-38.pyc
index c0ece8e..0ed0017 100644
Binary files a/smart_service/masters/doctype/app_labels/__pycache__/app_labels.cpython-38.pyc and b/smart_service/masters/doctype/app_labels/__pycache__/app_labels.cpython-38.pyc differ
diff --git a/smart_service/masters/doctype/app_labels_data/__pycache__/__init__.cpython-38.pyc b/smart_service/masters/doctype/app_labels_data/__pycache__/__init__.cpython-38.pyc
index 7746eb6..a3b0f9f 100644
Binary files a/smart_service/masters/doctype/app_labels_data/__pycache__/__init__.cpython-38.pyc and b/smart_service/masters/doctype/app_labels_data/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/masters/doctype/app_labels_data/__pycache__/app_labels_data.cpython-38.pyc b/smart_service/masters/doctype/app_labels_data/__pycache__/app_labels_data.cpython-38.pyc
index be603fb..3bf0f1f 100644
Binary files a/smart_service/masters/doctype/app_labels_data/__pycache__/app_labels_data.cpython-38.pyc and b/smart_service/masters/doctype/app_labels_data/__pycache__/app_labels_data.cpython-38.pyc differ
diff --git a/smart_service/masters/doctype/asset_360/__pycache__/__init__.cpython-38.pyc b/smart_service/masters/doctype/asset_360/__pycache__/__init__.cpython-38.pyc
deleted file mode 100644
index eed1f88..0000000
Binary files a/smart_service/masters/doctype/asset_360/__pycache__/__init__.cpython-38.pyc and /dev/null differ
diff --git a/smart_service/masters/doctype/asset_360/__pycache__/asset_360.cpython-38.pyc b/smart_service/masters/doctype/asset_360/__pycache__/asset_360.cpython-38.pyc
deleted file mode 100644
index efde244..0000000
Binary files a/smart_service/masters/doctype/asset_360/__pycache__/asset_360.cpython-38.pyc and /dev/null differ
diff --git a/smart_service/masters/doctype/asset_360/asset_360.js b/smart_service/masters/doctype/asset_360/asset_360.js
deleted file mode 100644
index 6996936..0000000
--- a/smart_service/masters/doctype/asset_360/asset_360.js
+++ /dev/null
@@ -1,8 +0,0 @@
-// Copyright (c) 2022, Hard n Soft Technologies Pvt Ltd and contributors
-// For license information, please see license.txt
-
-frappe.ui.form.on('Asset 360', {
- // refresh: function(frm) {
-
- // }
-});
diff --git a/smart_service/masters/doctype/asset_360/asset_360.json b/smart_service/masters/doctype/asset_360/asset_360.json
deleted file mode 100644
index e0b980e..0000000
--- a/smart_service/masters/doctype/asset_360/asset_360.json
+++ /dev/null
@@ -1,110 +0,0 @@
-{
- "actions": [],
- "autoname": "format:{vehicle}",
- "creation": "2022-02-13 21:28:52.997368",
- "doctype": "DocType",
- "editable_grid": 1,
- "engine": "InnoDB",
- "field_order": [
- "vehicle",
- "column_break_2",
- "active_status",
- "exterior_360_section",
- "hero_shot",
- "exterior_360_asset",
- "exterior_360_hotspots",
- "interior_360_section",
- "interior_360_asset",
- "interior_360_hotspots"
- ],
- "fields": [
- {
- "fieldname": "vehicle",
- "fieldtype": "Link",
- "in_list_view": 1,
- "label": "Vehicle",
- "options": "Vehicle",
- "reqd": 1
- },
- {
- "fieldname": "column_break_2",
- "fieldtype": "Column Break"
- },
- {
- "fieldname": "active_status",
- "fieldtype": "Select",
- "in_list_view": 1,
- "label": "Active Status",
- "options": "Active\nInactive",
- "reqd": 1
- },
- {
- "fieldname": "exterior_360_section",
- "fieldtype": "Section Break",
- "label": "Exterior 360"
- },
- {
- "fieldname": "exterior_360_asset",
- "fieldtype": "Attach",
- "in_list_view": 1,
- "label": "Exterior 360 Asset",
- "reqd": 1
- },
- {
- "fieldname": "exterior_360_hotspots",
- "fieldtype": "Table",
- "label": "Exterior 360 Hotspots",
- "options": "Asset 360 Hotspot Items"
- },
- {
- "fieldname": "interior_360_section",
- "fieldtype": "Section Break",
- "label": "Interior 360"
- },
- {
- "fieldname": "interior_360_asset",
- "fieldtype": "Attach",
- "in_list_view": 1,
- "label": "Interior 360 Asset",
- "reqd": 1
- },
- {
- "fieldname": "interior_360_hotspots",
- "fieldtype": "Table",
- "label": "Interior 360 Hotspots",
- "options": "Asset 360 Hotspot Items"
- },
- {
- "description": "for Info stand",
- "fieldname": "hero_shot",
- "fieldtype": "Attach Image",
- "label": "Hero Shot"
- }
- ],
- "image_field": "hero_shot",
- "index_web_pages_for_search": 1,
- "links": [],
- "modified": "2022-02-13 21:32:04.109344",
- "modified_by": "Administrator",
- "module": "Masters",
- "name": "Asset 360",
- "owner": "Administrator",
- "permissions": [
- {
- "create": 1,
- "delete": 1,
- "email": 1,
- "export": 1,
- "print": 1,
- "read": 1,
- "report": 1,
- "role": "System Manager",
- "share": 1,
- "write": 1
- }
- ],
- "sort_field": "modified",
- "sort_order": "DESC",
- "title_field": "vehicle",
- "track_changes": 1
-}
\ No newline at end of file
diff --git a/smart_service/masters/doctype/asset_360/asset_360.py b/smart_service/masters/doctype/asset_360/asset_360.py
deleted file mode 100644
index bdaff35..0000000
--- a/smart_service/masters/doctype/asset_360/asset_360.py
+++ /dev/null
@@ -1,8 +0,0 @@
-# Copyright (c) 2022, Hard n Soft Technologies Pvt Ltd and contributors
-# For license information, please see license.txt
-
-# import frappe
-from frappe.model.document import Document
-
-class Asset360(Document):
- pass
diff --git a/smart_service/masters/doctype/asset_360/test_asset_360.py b/smart_service/masters/doctype/asset_360/test_asset_360.py
deleted file mode 100644
index 4c5f3a6..0000000
--- a/smart_service/masters/doctype/asset_360/test_asset_360.py
+++ /dev/null
@@ -1,8 +0,0 @@
-# Copyright (c) 2022, Hard n Soft Technologies Pvt Ltd and Contributors
-# See license.txt
-
-# import frappe
-import unittest
-
-class TestAsset360(unittest.TestCase):
- pass
diff --git a/smart_service/masters/doctype/asset_360_hotspot_items/__init__.py b/smart_service/masters/doctype/asset_360_hotspot_items/__init__.py
deleted file mode 100644
index e69de29..0000000
diff --git a/smart_service/masters/doctype/asset_360_hotspot_items/__pycache__/__init__.cpython-38.pyc b/smart_service/masters/doctype/asset_360_hotspot_items/__pycache__/__init__.cpython-38.pyc
deleted file mode 100644
index 1d36164..0000000
Binary files a/smart_service/masters/doctype/asset_360_hotspot_items/__pycache__/__init__.cpython-38.pyc and /dev/null differ
diff --git a/smart_service/masters/doctype/asset_360_hotspot_items/__pycache__/asset_360_hotspot_items.cpython-38.pyc b/smart_service/masters/doctype/asset_360_hotspot_items/__pycache__/asset_360_hotspot_items.cpython-38.pyc
deleted file mode 100644
index 7b5d5fd..0000000
Binary files a/smart_service/masters/doctype/asset_360_hotspot_items/__pycache__/asset_360_hotspot_items.cpython-38.pyc and /dev/null differ
diff --git a/smart_service/masters/doctype/asset_360_hotspot_items/asset_360_hotspot_items.json b/smart_service/masters/doctype/asset_360_hotspot_items/asset_360_hotspot_items.json
deleted file mode 100644
index 845dd07..0000000
--- a/smart_service/masters/doctype/asset_360_hotspot_items/asset_360_hotspot_items.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "actions": [],
- "creation": "2022-02-13 21:27:45.788343",
- "doctype": "DocType",
- "editable_grid": 1,
- "engine": "InnoDB",
- "field_order": [
- "hotspot_id",
- "remarks"
- ],
- "fields": [
- {
- "columns": 3,
- "fieldname": "hotspot_id",
- "fieldtype": "Data",
- "in_list_view": 1,
- "label": "Hotspot ID",
- "reqd": 1
- },
- {
- "columns": 7,
- "fieldname": "remarks",
- "fieldtype": "Data",
- "in_list_view": 1,
- "label": "Remarks"
- }
- ],
- "index_web_pages_for_search": 1,
- "istable": 1,
- "links": [],
- "modified": "2022-02-13 21:27:45.788343",
- "modified_by": "Administrator",
- "module": "Masters",
- "name": "Asset 360 Hotspot Items",
- "owner": "Administrator",
- "permissions": [],
- "sort_field": "modified",
- "sort_order": "DESC"
-}
\ No newline at end of file
diff --git a/smart_service/masters/doctype/asset_360_hotspot_items/asset_360_hotspot_items.py b/smart_service/masters/doctype/asset_360_hotspot_items/asset_360_hotspot_items.py
deleted file mode 100644
index 0de1e23..0000000
--- a/smart_service/masters/doctype/asset_360_hotspot_items/asset_360_hotspot_items.py
+++ /dev/null
@@ -1,8 +0,0 @@
-# Copyright (c) 2022, Hard n Soft Technologies Pvt Ltd and contributors
-# For license information, please see license.txt
-
-# import frappe
-from frappe.model.document import Document
-
-class Asset360HotspotItems(Document):
- pass
diff --git a/smart_service/masters/doctype/competitor/__init__.py b/smart_service/masters/doctype/competitor/__init__.py
deleted file mode 100644
index e69de29..0000000
diff --git a/smart_service/masters/doctype/competitor/__pycache__/__init__.cpython-38.pyc b/smart_service/masters/doctype/competitor/__pycache__/__init__.cpython-38.pyc
deleted file mode 100644
index 42ce839..0000000
Binary files a/smart_service/masters/doctype/competitor/__pycache__/__init__.cpython-38.pyc and /dev/null differ
diff --git a/smart_service/masters/doctype/competitor/__pycache__/competitor.cpython-38.pyc b/smart_service/masters/doctype/competitor/__pycache__/competitor.cpython-38.pyc
deleted file mode 100644
index ac20ec4..0000000
Binary files a/smart_service/masters/doctype/competitor/__pycache__/competitor.cpython-38.pyc and /dev/null differ
diff --git a/smart_service/masters/doctype/competitor/competitor.json b/smart_service/masters/doctype/competitor/competitor.json
deleted file mode 100644
index 90695bb..0000000
--- a/smart_service/masters/doctype/competitor/competitor.json
+++ /dev/null
@@ -1,67 +0,0 @@
-{
- "actions": [],
- "autoname": "format:{vehicle_name}",
- "creation": "2022-02-13 19:33:17.995623",
- "doctype": "DocType",
- "editable_grid": 1,
- "engine": "InnoDB",
- "field_order": [
- "vehicle_name",
- "variant",
- "active_status",
- "image"
- ],
- "fields": [
- {
- "fieldname": "vehicle_name",
- "fieldtype": "Data",
- "in_list_view": 1,
- "label": "Vehicle Name",
- "reqd": 1
- },
- {
- "fieldname": "active_status",
- "fieldtype": "Select",
- "in_list_view": 1,
- "label": "Active Status",
- "options": "Active\nInactive",
- "reqd": 1
- },
- {
- "fieldname": "image",
- "fieldtype": "Attach Image",
- "label": "Image"
- },
- {
- "fieldname": "variant",
- "fieldtype": "Data",
- "label": "Variant"
- }
- ],
- "image_field": "image",
- "index_web_pages_for_search": 1,
- "links": [],
- "modified": "2022-02-13 19:43:53.741741",
- "modified_by": "Administrator",
- "module": "Masters",
- "name": "Competitor",
- "owner": "Administrator",
- "permissions": [
- {
- "create": 1,
- "delete": 1,
- "email": 1,
- "export": 1,
- "print": 1,
- "read": 1,
- "report": 1,
- "role": "System Manager",
- "share": 1,
- "write": 1
- }
- ],
- "sort_field": "modified",
- "sort_order": "DESC",
- "title_field": "vehicle_name",
- "track_changes": 1
-}
\ No newline at end of file
diff --git a/smart_service/masters/doctype/competitor/competitor.py b/smart_service/masters/doctype/competitor/competitor.py
deleted file mode 100644
index aa8802f..0000000
--- a/smart_service/masters/doctype/competitor/competitor.py
+++ /dev/null
@@ -1,8 +0,0 @@
-# Copyright (c) 2022, Hard n Soft Technologies Pvt Ltd and contributors
-# For license information, please see license.txt
-
-# import frappe
-from frappe.model.document import Document
-
-class Competitor(Document):
- pass
diff --git a/smart_service/masters/doctype/custom_languages/__pycache__/__init__.cpython-38.pyc b/smart_service/masters/doctype/custom_languages/__pycache__/__init__.cpython-38.pyc
index ac05275..c3012fe 100644
Binary files a/smart_service/masters/doctype/custom_languages/__pycache__/__init__.cpython-38.pyc and b/smart_service/masters/doctype/custom_languages/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/masters/doctype/custom_languages/__pycache__/custom_languages.cpython-38.pyc b/smart_service/masters/doctype/custom_languages/__pycache__/custom_languages.cpython-38.pyc
index 270d6a6..a5b527f 100644
Binary files a/smart_service/masters/doctype/custom_languages/__pycache__/custom_languages.cpython-38.pyc and b/smart_service/masters/doctype/custom_languages/__pycache__/custom_languages.cpython-38.pyc differ
diff --git a/smart_service/masters/doctype/customer_profile/__init__.py b/smart_service/masters/doctype/customer_profile/__init__.py
deleted file mode 100644
index e69de29..0000000
diff --git a/smart_service/masters/doctype/customer_profile/__pycache__/__init__.cpython-38.pyc b/smart_service/masters/doctype/customer_profile/__pycache__/__init__.cpython-38.pyc
deleted file mode 100644
index 8b310e5..0000000
Binary files a/smart_service/masters/doctype/customer_profile/__pycache__/__init__.cpython-38.pyc and /dev/null differ
diff --git a/smart_service/masters/doctype/customer_profile/__pycache__/customer_profile.cpython-38.pyc b/smart_service/masters/doctype/customer_profile/__pycache__/customer_profile.cpython-38.pyc
deleted file mode 100644
index 815005c..0000000
Binary files a/smart_service/masters/doctype/customer_profile/__pycache__/customer_profile.cpython-38.pyc and /dev/null differ
diff --git a/smart_service/masters/doctype/customer_profile/customer_profile.js b/smart_service/masters/doctype/customer_profile/customer_profile.js
deleted file mode 100644
index 2b46948..0000000
--- a/smart_service/masters/doctype/customer_profile/customer_profile.js
+++ /dev/null
@@ -1,8 +0,0 @@
-// Copyright (c) 2022, Hard n Soft Technologies Pvt Ltd and contributors
-// For license information, please see license.txt
-
-frappe.ui.form.on('Customer Profile', {
- // refresh: function(frm) {
-
- // }
-});
diff --git a/smart_service/masters/doctype/customer_profile/customer_profile.json b/smart_service/masters/doctype/customer_profile/customer_profile.json
deleted file mode 100644
index 5a59779..0000000
--- a/smart_service/masters/doctype/customer_profile/customer_profile.json
+++ /dev/null
@@ -1,81 +0,0 @@
-{
- "actions": [],
- "autoname": "CUST.#####",
- "creation": "2022-02-13 20:55:57.161845",
- "doctype": "DocType",
- "editable_grid": 1,
- "engine": "InnoDB",
- "field_order": [
- "name1",
- "mobile",
- "email",
- "column_break_4",
- "dealer_code",
- "registration_time"
- ],
- "fields": [
- {
- "fieldname": "name1",
- "fieldtype": "Data",
- "in_list_view": 1,
- "label": "Name",
- "options": "Name",
- "reqd": 1
- },
- {
- "fieldname": "mobile",
- "fieldtype": "Data",
- "in_list_view": 1,
- "label": "Mobile",
- "options": "Phone",
- "reqd": 1
- },
- {
- "fieldname": "email",
- "fieldtype": "Data",
- "in_list_view": 1,
- "label": "Email",
- "options": "Email",
- "reqd": 1
- },
- {
- "fieldname": "column_break_4",
- "fieldtype": "Column Break"
- },
- {
- "fieldname": "dealer_code",
- "fieldtype": "Link",
- "label": "Dealer Code",
- "options": "Dealer"
- },
- {
- "fieldname": "registration_time",
- "fieldtype": "Data",
- "label": "Registration Time"
- }
- ],
- "index_web_pages_for_search": 1,
- "links": [],
- "modified": "2022-02-15 10:02:07.864699",
- "modified_by": "Administrator",
- "module": "Masters",
- "name": "Customer Profile",
- "owner": "Administrator",
- "permissions": [
- {
- "create": 1,
- "delete": 1,
- "email": 1,
- "export": 1,
- "print": 1,
- "read": 1,
- "report": 1,
- "role": "System Manager",
- "share": 1,
- "write": 1
- }
- ],
- "sort_field": "modified",
- "sort_order": "DESC",
- "track_changes": 1
-}
\ No newline at end of file
diff --git a/smart_service/masters/doctype/customer_profile/customer_profile.py b/smart_service/masters/doctype/customer_profile/customer_profile.py
deleted file mode 100644
index fc265f0..0000000
--- a/smart_service/masters/doctype/customer_profile/customer_profile.py
+++ /dev/null
@@ -1,8 +0,0 @@
-# Copyright (c) 2022, Hard n Soft Technologies Pvt Ltd and contributors
-# For license information, please see license.txt
-
-# import frappe
-from frappe.model.document import Document
-
-class CustomerProfile(Document):
- pass
diff --git a/smart_service/masters/doctype/customer_profile/test_customer_profile.py b/smart_service/masters/doctype/customer_profile/test_customer_profile.py
deleted file mode 100644
index 77c6ae8..0000000
--- a/smart_service/masters/doctype/customer_profile/test_customer_profile.py
+++ /dev/null
@@ -1,8 +0,0 @@
-# Copyright (c) 2022, Hard n Soft Technologies Pvt Ltd and Contributors
-# See license.txt
-
-# import frappe
-import unittest
-
-class TestCustomerProfile(unittest.TestCase):
- pass
diff --git a/smart_service/masters/doctype/dealer/__init__.py b/smart_service/masters/doctype/dealer/__init__.py
deleted file mode 100644
index e69de29..0000000
diff --git a/smart_service/masters/doctype/dealer/__pycache__/__init__.cpython-38.pyc b/smart_service/masters/doctype/dealer/__pycache__/__init__.cpython-38.pyc
deleted file mode 100644
index 8a22bfd..0000000
Binary files a/smart_service/masters/doctype/dealer/__pycache__/__init__.cpython-38.pyc and /dev/null differ
diff --git a/smart_service/masters/doctype/dealer/__pycache__/dealer.cpython-38.pyc b/smart_service/masters/doctype/dealer/__pycache__/dealer.cpython-38.pyc
deleted file mode 100644
index 4889d43..0000000
Binary files a/smart_service/masters/doctype/dealer/__pycache__/dealer.cpython-38.pyc and /dev/null differ
diff --git a/smart_service/masters/doctype/dealer/dealer.js b/smart_service/masters/doctype/dealer/dealer.js
deleted file mode 100644
index 2c8d8e2..0000000
--- a/smart_service/masters/doctype/dealer/dealer.js
+++ /dev/null
@@ -1,8 +0,0 @@
-// Copyright (c) 2022, Hard n Soft Technologies Pvt Ltd and contributors
-// For license information, please see license.txt
-
-frappe.ui.form.on('Dealer', {
- // refresh: function(frm) {
-
- // }
-});
diff --git a/smart_service/masters/doctype/dealer/dealer.json b/smart_service/masters/doctype/dealer/dealer.json
deleted file mode 100644
index 4f725eb..0000000
--- a/smart_service/masters/doctype/dealer/dealer.json
+++ /dev/null
@@ -1,61 +0,0 @@
-{
- "actions": [],
- "autoname": "format:{dealer_name}",
- "creation": "2022-02-13 20:51:54.246914",
- "doctype": "DocType",
- "editable_grid": 1,
- "engine": "InnoDB",
- "field_order": [
- "dealer_name",
- "dealer_code",
- "mobile_number"
- ],
- "fields": [
- {
- "fieldname": "dealer_name",
- "fieldtype": "Data",
- "in_list_view": 1,
- "label": "Dealer Name",
- "reqd": 1
- },
- {
- "fieldname": "dealer_code",
- "fieldtype": "Data",
- "in_list_view": 1,
- "label": "Dealer Code",
- "reqd": 1
- },
- {
- "fieldname": "mobile_number",
- "fieldtype": "Data",
- "in_list_view": 1,
- "label": "Mobile Number",
- "reqd": 1
- }
- ],
- "index_web_pages_for_search": 1,
- "links": [],
- "modified": "2022-02-13 20:51:54.246914",
- "modified_by": "Administrator",
- "module": "Masters",
- "name": "Dealer",
- "owner": "Administrator",
- "permissions": [
- {
- "create": 1,
- "delete": 1,
- "email": 1,
- "export": 1,
- "print": 1,
- "read": 1,
- "report": 1,
- "role": "System Manager",
- "share": 1,
- "write": 1
- }
- ],
- "sort_field": "modified",
- "sort_order": "DESC",
- "title_field": "dealer_name",
- "track_changes": 1
-}
\ No newline at end of file
diff --git a/smart_service/masters/doctype/dealer/test_dealer.py b/smart_service/masters/doctype/dealer/test_dealer.py
deleted file mode 100644
index 05b10be..0000000
--- a/smart_service/masters/doctype/dealer/test_dealer.py
+++ /dev/null
@@ -1,8 +0,0 @@
-# Copyright (c) 2022, Hard n Soft Technologies Pvt Ltd and Contributors
-# See license.txt
-
-# import frappe
-import unittest
-
-class TestDealer(unittest.TestCase):
- pass
diff --git a/smart_service/masters/doctype/drive/__pycache__/__init__.cpython-38.pyc b/smart_service/masters/doctype/drive/__pycache__/__init__.cpython-38.pyc
index 45bb17c..7d65bbb 100644
Binary files a/smart_service/masters/doctype/drive/__pycache__/__init__.cpython-38.pyc and b/smart_service/masters/doctype/drive/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/masters/doctype/drive/__pycache__/drive.cpython-38.pyc b/smart_service/masters/doctype/drive/__pycache__/drive.cpython-38.pyc
index bfd1dde..c78222e 100644
Binary files a/smart_service/masters/doctype/drive/__pycache__/drive.cpython-38.pyc and b/smart_service/masters/doctype/drive/__pycache__/drive.cpython-38.pyc differ
diff --git a/smart_service/masters/doctype/fuel/__pycache__/__init__.cpython-38.pyc b/smart_service/masters/doctype/fuel/__pycache__/__init__.cpython-38.pyc
index 9489358..18a6569 100644
Binary files a/smart_service/masters/doctype/fuel/__pycache__/__init__.cpython-38.pyc and b/smart_service/masters/doctype/fuel/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/masters/doctype/fuel/__pycache__/fuel.cpython-38.pyc b/smart_service/masters/doctype/fuel/__pycache__/fuel.cpython-38.pyc
index 6b56059..b5ea414 100644
Binary files a/smart_service/masters/doctype/fuel/__pycache__/fuel.cpython-38.pyc and b/smart_service/masters/doctype/fuel/__pycache__/fuel.cpython-38.pyc differ
diff --git a/smart_service/masters/doctype/gallery/__init__.py b/smart_service/masters/doctype/gallery/__init__.py
deleted file mode 100644
index e69de29..0000000
diff --git a/smart_service/masters/doctype/gallery/__pycache__/__init__.cpython-38.pyc b/smart_service/masters/doctype/gallery/__pycache__/__init__.cpython-38.pyc
deleted file mode 100644
index 3d82719..0000000
Binary files a/smart_service/masters/doctype/gallery/__pycache__/__init__.cpython-38.pyc and /dev/null differ
diff --git a/smart_service/masters/doctype/gallery/__pycache__/gallery.cpython-38.pyc b/smart_service/masters/doctype/gallery/__pycache__/gallery.cpython-38.pyc
deleted file mode 100644
index a2cde2e..0000000
Binary files a/smart_service/masters/doctype/gallery/__pycache__/gallery.cpython-38.pyc and /dev/null differ
diff --git a/smart_service/masters/doctype/gallery/gallery.js b/smart_service/masters/doctype/gallery/gallery.js
deleted file mode 100644
index f62a592..0000000
--- a/smart_service/masters/doctype/gallery/gallery.js
+++ /dev/null
@@ -1,8 +0,0 @@
-// Copyright (c) 2022, Hard n Soft Technologies Pvt Ltd and contributors
-// For license information, please see license.txt
-
-frappe.ui.form.on('Gallery', {
- // refresh: function(frm) {
-
- // }
-});
diff --git a/smart_service/masters/doctype/gallery/gallery.json b/smart_service/masters/doctype/gallery/gallery.json
deleted file mode 100644
index a9d4f3d..0000000
--- a/smart_service/masters/doctype/gallery/gallery.json
+++ /dev/null
@@ -1,72 +0,0 @@
-{
- "actions": [],
- "autoname": "format:{vehicle}",
- "creation": "2022-02-13 04:51:17.414100",
- "doctype": "DocType",
- "editable_grid": 1,
- "engine": "InnoDB",
- "field_order": [
- "vehicle",
- "column_break_2",
- "active_status",
- "section_break_4",
- "gallery_items"
- ],
- "fields": [
- {
- "fieldname": "vehicle",
- "fieldtype": "Link",
- "in_list_view": 1,
- "label": "Vehicle",
- "options": "Vehicle",
- "reqd": 1
- },
- {
- "fieldname": "column_break_2",
- "fieldtype": "Column Break"
- },
- {
- "fieldname": "active_status",
- "fieldtype": "Select",
- "in_list_view": 1,
- "label": "Active Status",
- "options": "Active\nInactive",
- "reqd": 1
- },
- {
- "fieldname": "section_break_4",
- "fieldtype": "Section Break"
- },
- {
- "fieldname": "gallery_items",
- "fieldtype": "Table",
- "label": "Gallery Items",
- "options": "Gallery Items"
- }
- ],
- "index_web_pages_for_search": 1,
- "links": [],
- "modified": "2022-02-13 04:51:17.414100",
- "modified_by": "Administrator",
- "module": "Masters",
- "name": "Gallery",
- "owner": "Administrator",
- "permissions": [
- {
- "create": 1,
- "delete": 1,
- "email": 1,
- "export": 1,
- "print": 1,
- "read": 1,
- "report": 1,
- "role": "System Manager",
- "share": 1,
- "write": 1
- }
- ],
- "sort_field": "modified",
- "sort_order": "DESC",
- "title_field": "vehicle",
- "track_changes": 1
-}
\ No newline at end of file
diff --git a/smart_service/masters/doctype/gallery/gallery.py b/smart_service/masters/doctype/gallery/gallery.py
deleted file mode 100644
index f6bfed4..0000000
--- a/smart_service/masters/doctype/gallery/gallery.py
+++ /dev/null
@@ -1,8 +0,0 @@
-# Copyright (c) 2022, Hard n Soft Technologies Pvt Ltd and contributors
-# For license information, please see license.txt
-
-# import frappe
-from frappe.model.document import Document
-
-class Gallery(Document):
- pass
diff --git a/smart_service/masters/doctype/gallery/test_gallery.py b/smart_service/masters/doctype/gallery/test_gallery.py
deleted file mode 100644
index 1e3399b..0000000
--- a/smart_service/masters/doctype/gallery/test_gallery.py
+++ /dev/null
@@ -1,8 +0,0 @@
-# Copyright (c) 2022, Hard n Soft Technologies Pvt Ltd and Contributors
-# See license.txt
-
-# import frappe
-import unittest
-
-class TestGallery(unittest.TestCase):
- pass
diff --git a/smart_service/masters/doctype/gallery_items/__init__.py b/smart_service/masters/doctype/gallery_items/__init__.py
deleted file mode 100644
index e69de29..0000000
diff --git a/smart_service/masters/doctype/gallery_items/__pycache__/__init__.cpython-38.pyc b/smart_service/masters/doctype/gallery_items/__pycache__/__init__.cpython-38.pyc
deleted file mode 100644
index 895d3b5..0000000
Binary files a/smart_service/masters/doctype/gallery_items/__pycache__/__init__.cpython-38.pyc and /dev/null differ
diff --git a/smart_service/masters/doctype/gallery_items/__pycache__/gallery_items.cpython-38.pyc b/smart_service/masters/doctype/gallery_items/__pycache__/gallery_items.cpython-38.pyc
deleted file mode 100644
index 4e6de90..0000000
Binary files a/smart_service/masters/doctype/gallery_items/__pycache__/gallery_items.cpython-38.pyc and /dev/null differ
diff --git a/smart_service/masters/doctype/gallery_items/gallery_items.json b/smart_service/masters/doctype/gallery_items/gallery_items.json
deleted file mode 100644
index 4781f99..0000000
--- a/smart_service/masters/doctype/gallery_items/gallery_items.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "actions": [],
- "creation": "2022-02-13 04:47:57.408390",
- "doctype": "DocType",
- "editable_grid": 1,
- "engine": "InnoDB",
- "field_order": [
- "gallery_item",
- "preview",
- "remarks"
- ],
- "fields": [
- {
- "fieldname": "gallery_item",
- "fieldtype": "Attach",
- "in_list_view": 1,
- "in_preview": 1,
- "label": "Gallery Item",
- "reqd": 1
- },
- {
- "fieldname": "preview",
- "fieldtype": "Image",
- "label": "Preview",
- "options": "gallery_item"
- },
- {
- "fieldname": "remarks",
- "fieldtype": "Data",
- "in_list_view": 1,
- "in_preview": 1,
- "label": "Remarks"
- }
- ],
- "index_web_pages_for_search": 1,
- "istable": 1,
- "links": [],
- "modified": "2022-02-13 04:47:57.408390",
- "modified_by": "Administrator",
- "module": "Masters",
- "name": "Gallery Items",
- "owner": "Administrator",
- "permissions": [],
- "sort_field": "modified",
- "sort_order": "DESC"
-}
\ No newline at end of file
diff --git a/smart_service/masters/doctype/gallery_items/gallery_items.py b/smart_service/masters/doctype/gallery_items/gallery_items.py
deleted file mode 100644
index eb3e6ab..0000000
--- a/smart_service/masters/doctype/gallery_items/gallery_items.py
+++ /dev/null
@@ -1,8 +0,0 @@
-# Copyright (c) 2022, Hard n Soft Technologies Pvt Ltd and contributors
-# For license information, please see license.txt
-
-# import frappe
-from frappe.model.document import Document
-
-class GalleryItems(Document):
- pass
diff --git a/smart_service/masters/doctype/idle_screen/__init__.py b/smart_service/masters/doctype/idle_screen/__init__.py
deleted file mode 100644
index e69de29..0000000
diff --git a/smart_service/masters/doctype/idle_screen/__pycache__/__init__.cpython-38.pyc b/smart_service/masters/doctype/idle_screen/__pycache__/__init__.cpython-38.pyc
deleted file mode 100644
index 6343e44..0000000
Binary files a/smart_service/masters/doctype/idle_screen/__pycache__/__init__.cpython-38.pyc and /dev/null differ
diff --git a/smart_service/masters/doctype/idle_screen/__pycache__/idle_screen.cpython-38.pyc b/smart_service/masters/doctype/idle_screen/__pycache__/idle_screen.cpython-38.pyc
deleted file mode 100644
index 93d3531..0000000
Binary files a/smart_service/masters/doctype/idle_screen/__pycache__/idle_screen.cpython-38.pyc and /dev/null differ
diff --git a/smart_service/masters/doctype/idle_screen/idle_screen.js b/smart_service/masters/doctype/idle_screen/idle_screen.js
deleted file mode 100644
index 6164639..0000000
--- a/smart_service/masters/doctype/idle_screen/idle_screen.js
+++ /dev/null
@@ -1,8 +0,0 @@
-// Copyright (c) 2022, Hard n Soft Technologies Pvt Ltd and contributors
-// For license information, please see license.txt
-
-frappe.ui.form.on('Idle Screen', {
- // refresh: function(frm) {
-
- // }
-});
diff --git a/smart_service/masters/doctype/idle_screen/idle_screen.json b/smart_service/masters/doctype/idle_screen/idle_screen.json
deleted file mode 100644
index c850bf1..0000000
--- a/smart_service/masters/doctype/idle_screen/idle_screen.json
+++ /dev/null
@@ -1,58 +0,0 @@
-{
- "actions": [],
- "autoname": "format:Idle_Screen",
- "creation": "2022-02-13 21:40:33.755869",
- "description": "- Set the Idle Time in minutes \n- Add the Assets (JPG, MP4)\n- Set Asset Status",
- "doctype": "DocType",
- "editable_grid": 1,
- "engine": "InnoDB",
- "field_order": [
- "idle_time",
- "section_break_2",
- "idle_screen_items"
- ],
- "fields": [
- {
- "description": "mins",
- "fieldname": "idle_time",
- "fieldtype": "Data",
- "in_list_view": 1,
- "label": "Idle Time",
- "length": 2
- },
- {
- "fieldname": "section_break_2",
- "fieldtype": "Section Break"
- },
- {
- "fieldname": "idle_screen_items",
- "fieldtype": "Table",
- "label": "Idle Screen Items",
- "options": "Idle Screen Items"
- }
- ],
- "index_web_pages_for_search": 1,
- "links": [],
- "modified": "2022-02-13 22:02:32.320063",
- "modified_by": "Administrator",
- "module": "Masters",
- "name": "Idle Screen",
- "owner": "Administrator",
- "permissions": [
- {
- "create": 1,
- "delete": 1,
- "email": 1,
- "export": 1,
- "print": 1,
- "read": 1,
- "report": 1,
- "role": "System Manager",
- "share": 1,
- "write": 1
- }
- ],
- "sort_field": "modified",
- "sort_order": "DESC",
- "track_changes": 1
-}
\ No newline at end of file
diff --git a/smart_service/masters/doctype/idle_screen/idle_screen.py b/smart_service/masters/doctype/idle_screen/idle_screen.py
deleted file mode 100644
index 8792fa7..0000000
--- a/smart_service/masters/doctype/idle_screen/idle_screen.py
+++ /dev/null
@@ -1,8 +0,0 @@
-# Copyright (c) 2022, Hard n Soft Technologies Pvt Ltd and contributors
-# For license information, please see license.txt
-
-# import frappe
-from frappe.model.document import Document
-
-class IdleScreen(Document):
- pass
diff --git a/smart_service/masters/doctype/idle_screen/test_idle_screen.py b/smart_service/masters/doctype/idle_screen/test_idle_screen.py
deleted file mode 100644
index 2a980bb..0000000
--- a/smart_service/masters/doctype/idle_screen/test_idle_screen.py
+++ /dev/null
@@ -1,8 +0,0 @@
-# Copyright (c) 2022, Hard n Soft Technologies Pvt Ltd and Contributors
-# See license.txt
-
-# import frappe
-import unittest
-
-class TestIdleScreen(unittest.TestCase):
- pass
diff --git a/smart_service/masters/doctype/idle_screen_items/__init__.py b/smart_service/masters/doctype/idle_screen_items/__init__.py
deleted file mode 100644
index e69de29..0000000
diff --git a/smart_service/masters/doctype/idle_screen_items/__pycache__/__init__.cpython-38.pyc b/smart_service/masters/doctype/idle_screen_items/__pycache__/__init__.cpython-38.pyc
deleted file mode 100644
index b8c449b..0000000
Binary files a/smart_service/masters/doctype/idle_screen_items/__pycache__/__init__.cpython-38.pyc and /dev/null differ
diff --git a/smart_service/masters/doctype/idle_screen_items/__pycache__/idle_screen_items.cpython-38.pyc b/smart_service/masters/doctype/idle_screen_items/__pycache__/idle_screen_items.cpython-38.pyc
deleted file mode 100644
index 950dcd9..0000000
Binary files a/smart_service/masters/doctype/idle_screen_items/__pycache__/idle_screen_items.cpython-38.pyc and /dev/null differ
diff --git a/smart_service/masters/doctype/idle_screen_items/idle_screen_items.json b/smart_service/masters/doctype/idle_screen_items/idle_screen_items.json
deleted file mode 100644
index 10de040..0000000
--- a/smart_service/masters/doctype/idle_screen_items/idle_screen_items.json
+++ /dev/null
@@ -1,50 +0,0 @@
-{
- "actions": [],
- "allow_rename": 1,
- "creation": "2022-02-13 21:38:06.703121",
- "doctype": "DocType",
- "editable_grid": 1,
- "engine": "InnoDB",
- "field_order": [
- "idle_asset",
- "active_status",
- "remarks"
- ],
- "fields": [
- {
- "columns": 3,
- "fieldname": "idle_asset",
- "fieldtype": "Attach",
- "in_list_view": 1,
- "label": "Idle Asset",
- "reqd": 1
- },
- {
- "columns": 2,
- "fieldname": "active_status",
- "fieldtype": "Select",
- "in_list_view": 1,
- "label": "Active Status",
- "options": "Active\nInactive",
- "reqd": 1
- },
- {
- "columns": 5,
- "fieldname": "remarks",
- "fieldtype": "Data",
- "in_list_view": 1,
- "label": "Remarks"
- }
- ],
- "index_web_pages_for_search": 1,
- "istable": 1,
- "links": [],
- "modified": "2022-02-13 21:38:06.703121",
- "modified_by": "Administrator",
- "module": "Masters",
- "name": "Idle Screen Items",
- "owner": "Administrator",
- "permissions": [],
- "sort_field": "modified",
- "sort_order": "DESC"
-}
\ No newline at end of file
diff --git a/smart_service/masters/doctype/idle_screen_items/idle_screen_items.py b/smart_service/masters/doctype/idle_screen_items/idle_screen_items.py
deleted file mode 100644
index ba8f9c4..0000000
--- a/smart_service/masters/doctype/idle_screen_items/idle_screen_items.py
+++ /dev/null
@@ -1,8 +0,0 @@
-# Copyright (c) 2022, Hard n Soft Technologies Pvt Ltd and contributors
-# For license information, please see license.txt
-
-# import frappe
-from frappe.model.document import Document
-
-class IdleScreenItems(Document):
- pass
diff --git a/smart_service/masters/doctype/service_kilometers/__pycache__/__init__.cpython-38.pyc b/smart_service/masters/doctype/service_kilometers/__pycache__/__init__.cpython-38.pyc
index 21bc158..6e39062 100644
Binary files a/smart_service/masters/doctype/service_kilometers/__pycache__/__init__.cpython-38.pyc and b/smart_service/masters/doctype/service_kilometers/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/masters/doctype/service_kilometers/__pycache__/service_kilometers.cpython-38.pyc b/smart_service/masters/doctype/service_kilometers/__pycache__/service_kilometers.cpython-38.pyc
index 198e017..c19c539 100644
Binary files a/smart_service/masters/doctype/service_kilometers/__pycache__/service_kilometers.cpython-38.pyc and b/smart_service/masters/doctype/service_kilometers/__pycache__/service_kilometers.cpython-38.pyc differ
diff --git a/smart_service/masters/doctype/six_reasons_to_buy/__init__.py b/smart_service/masters/doctype/six_reasons_to_buy/__init__.py
deleted file mode 100644
index e69de29..0000000
diff --git a/smart_service/masters/doctype/six_reasons_to_buy/__pycache__/__init__.cpython-38.pyc b/smart_service/masters/doctype/six_reasons_to_buy/__pycache__/__init__.cpython-38.pyc
deleted file mode 100644
index 6fd6c51..0000000
Binary files a/smart_service/masters/doctype/six_reasons_to_buy/__pycache__/__init__.cpython-38.pyc and /dev/null differ
diff --git a/smart_service/masters/doctype/six_reasons_to_buy/__pycache__/six_reasons_to_buy.cpython-38.pyc b/smart_service/masters/doctype/six_reasons_to_buy/__pycache__/six_reasons_to_buy.cpython-38.pyc
deleted file mode 100644
index d8d58f7..0000000
Binary files a/smart_service/masters/doctype/six_reasons_to_buy/__pycache__/six_reasons_to_buy.cpython-38.pyc and /dev/null differ
diff --git a/smart_service/masters/doctype/six_reasons_to_buy/six_reasons_to_buy.js b/smart_service/masters/doctype/six_reasons_to_buy/six_reasons_to_buy.js
deleted file mode 100644
index 7ddfb3f..0000000
--- a/smart_service/masters/doctype/six_reasons_to_buy/six_reasons_to_buy.js
+++ /dev/null
@@ -1,8 +0,0 @@
-// Copyright (c) 2022, Hard n Soft Technologies Pvt Ltd and contributors
-// For license information, please see license.txt
-
-frappe.ui.form.on('Six Reasons to Buy', {
- // refresh: function(frm) {
-
- // }
-});
diff --git a/smart_service/masters/doctype/six_reasons_to_buy/six_reasons_to_buy.py b/smart_service/masters/doctype/six_reasons_to_buy/six_reasons_to_buy.py
deleted file mode 100644
index 8aefd7a..0000000
--- a/smart_service/masters/doctype/six_reasons_to_buy/six_reasons_to_buy.py
+++ /dev/null
@@ -1,8 +0,0 @@
-# Copyright (c) 2022, Hard n Soft Technologies Pvt Ltd and contributors
-# For license information, please see license.txt
-
-# import frappe
-from frappe.model.document import Document
-
-class SixReasonstoBuy(Document):
- pass
diff --git a/smart_service/masters/doctype/six_reasons_to_buy/test_six_reasons_to_buy.py b/smart_service/masters/doctype/six_reasons_to_buy/test_six_reasons_to_buy.py
deleted file mode 100644
index 140c0f3..0000000
--- a/smart_service/masters/doctype/six_reasons_to_buy/test_six_reasons_to_buy.py
+++ /dev/null
@@ -1,8 +0,0 @@
-# Copyright (c) 2022, Hard n Soft Technologies Pvt Ltd and Contributors
-# See license.txt
-
-# import frappe
-import unittest
-
-class TestSixReasonstoBuy(unittest.TestCase):
- pass
diff --git a/smart_service/masters/doctype/sub_systems/__pycache__/__init__.cpython-38.pyc b/smart_service/masters/doctype/sub_systems/__pycache__/__init__.cpython-38.pyc
index 722cca3..12f952b 100644
Binary files a/smart_service/masters/doctype/sub_systems/__pycache__/__init__.cpython-38.pyc and b/smart_service/masters/doctype/sub_systems/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/masters/doctype/sub_systems/__pycache__/sub_systems.cpython-38.pyc b/smart_service/masters/doctype/sub_systems/__pycache__/sub_systems.cpython-38.pyc
index 49d9396..b8c1028 100644
Binary files a/smart_service/masters/doctype/sub_systems/__pycache__/sub_systems.cpython-38.pyc and b/smart_service/masters/doctype/sub_systems/__pycache__/sub_systems.cpython-38.pyc differ
diff --git a/smart_service/masters/doctype/systems/__pycache__/__init__.cpython-38.pyc b/smart_service/masters/doctype/systems/__pycache__/__init__.cpython-38.pyc
index e82365e..3f98e91 100644
Binary files a/smart_service/masters/doctype/systems/__pycache__/__init__.cpython-38.pyc and b/smart_service/masters/doctype/systems/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/masters/doctype/systems/__pycache__/systems.cpython-38.pyc b/smart_service/masters/doctype/systems/__pycache__/systems.cpython-38.pyc
index a921c88..6c2b13d 100644
Binary files a/smart_service/masters/doctype/systems/__pycache__/systems.cpython-38.pyc and b/smart_service/masters/doctype/systems/__pycache__/systems.cpython-38.pyc differ
diff --git a/smart_service/masters/doctype/tech_spec/__init__.py b/smart_service/masters/doctype/tech_spec/__init__.py
deleted file mode 100644
index e69de29..0000000
diff --git a/smart_service/masters/doctype/tech_spec/__pycache__/__init__.cpython-38.pyc b/smart_service/masters/doctype/tech_spec/__pycache__/__init__.cpython-38.pyc
deleted file mode 100644
index c23f4e9..0000000
Binary files a/smart_service/masters/doctype/tech_spec/__pycache__/__init__.cpython-38.pyc and /dev/null differ
diff --git a/smart_service/masters/doctype/tech_spec/__pycache__/tech_spec.cpython-38.pyc b/smart_service/masters/doctype/tech_spec/__pycache__/tech_spec.cpython-38.pyc
deleted file mode 100644
index a641e32..0000000
Binary files a/smart_service/masters/doctype/tech_spec/__pycache__/tech_spec.cpython-38.pyc and /dev/null differ
diff --git a/smart_service/masters/doctype/tech_spec/tech_spec.js b/smart_service/masters/doctype/tech_spec/tech_spec.js
deleted file mode 100644
index a1a1da4..0000000
--- a/smart_service/masters/doctype/tech_spec/tech_spec.js
+++ /dev/null
@@ -1,8 +0,0 @@
-// Copyright (c) 2022, Hard n Soft Technologies Pvt Ltd and contributors
-// For license information, please see license.txt
-
-frappe.ui.form.on('Tech Spec', {
- // refresh: function(frm) {
-
- // }
-});
diff --git a/smart_service/masters/doctype/tech_spec/tech_spec.json b/smart_service/masters/doctype/tech_spec/tech_spec.json
deleted file mode 100644
index 1fc7893..0000000
--- a/smart_service/masters/doctype/tech_spec/tech_spec.json
+++ /dev/null
@@ -1,87 +0,0 @@
-{
- "actions": [],
- "allow_rename": 1,
- "autoname": "format:{variant}",
- "creation": "2022-02-13 06:01:28.015670",
- "doctype": "DocType",
- "editable_grid": 1,
- "engine": "InnoDB",
- "field_order": [
- "variant",
- "column_break_2",
- "vehicle",
- "active_status",
- "section_break_4",
- "heading_filter",
- "details"
- ],
- "fields": [
- {
- "fieldname": "variant",
- "fieldtype": "Link",
- "label": "Variant",
- "options": "Variant"
- },
- {
- "fieldname": "column_break_2",
- "fieldtype": "Column Break"
- },
- {
- "fetch_from": "variant.vehicle",
- "fieldname": "vehicle",
- "fieldtype": "Data",
- "label": "Vehicle",
- "read_only": 1
- },
- {
- "depends_on": "variant",
- "fieldname": "section_break_4",
- "fieldtype": "Section Break"
- },
- {
- "allow_bulk_edit": 1,
- "fieldname": "details",
- "fieldtype": "Table",
- "label": "Details",
- "options": "Tech Spec Details"
- },
- {
- "depends_on": "variant",
- "fieldname": "active_status",
- "fieldtype": "Select",
- "label": "Active Status",
- "options": "Active\nInactive"
- },
- {
- "fieldname": "heading_filter",
- "fieldtype": "Select",
- "label": "Filter",
- "options": "All"
- }
- ],
- "index_web_pages_for_search": 1,
- "links": [],
- "modified": "2022-02-13 19:12:28.874246",
- "modified_by": "Administrator",
- "module": "Masters",
- "name": "Tech Spec",
- "owner": "Administrator",
- "permissions": [
- {
- "create": 1,
- "delete": 1,
- "email": 1,
- "export": 1,
- "print": 1,
- "read": 1,
- "report": 1,
- "role": "System Manager",
- "share": 1,
- "write": 1
- }
- ],
- "sort_field": "modified",
- "sort_order": "DESC",
- "title_field": "variant",
- "track_changes": 1
-}
\ No newline at end of file
diff --git a/smart_service/masters/doctype/tech_spec/tech_spec.py b/smart_service/masters/doctype/tech_spec/tech_spec.py
deleted file mode 100644
index 24ab20a..0000000
--- a/smart_service/masters/doctype/tech_spec/tech_spec.py
+++ /dev/null
@@ -1,8 +0,0 @@
-# Copyright (c) 2022, Hard n Soft Technologies Pvt Ltd and contributors
-# For license information, please see license.txt
-
-# import frappe
-from frappe.model.document import Document
-
-class TechSpec(Document):
- pass
diff --git a/smart_service/masters/doctype/tech_spec/test_tech_spec.py b/smart_service/masters/doctype/tech_spec/test_tech_spec.py
deleted file mode 100644
index 8018d00..0000000
--- a/smart_service/masters/doctype/tech_spec/test_tech_spec.py
+++ /dev/null
@@ -1,8 +0,0 @@
-# Copyright (c) 2022, Hard n Soft Technologies Pvt Ltd and Contributors
-# See license.txt
-
-# import frappe
-import unittest
-
-class TestTechSpec(unittest.TestCase):
- pass
diff --git a/smart_service/masters/doctype/tech_spec_details/__init__.py b/smart_service/masters/doctype/tech_spec_details/__init__.py
deleted file mode 100644
index e69de29..0000000
diff --git a/smart_service/masters/doctype/tech_spec_details/__pycache__/__init__.cpython-38.pyc b/smart_service/masters/doctype/tech_spec_details/__pycache__/__init__.cpython-38.pyc
deleted file mode 100644
index f10edab..0000000
Binary files a/smart_service/masters/doctype/tech_spec_details/__pycache__/__init__.cpython-38.pyc and /dev/null differ
diff --git a/smart_service/masters/doctype/tech_spec_details/__pycache__/tech_spec_details.cpython-38.pyc b/smart_service/masters/doctype/tech_spec_details/__pycache__/tech_spec_details.cpython-38.pyc
deleted file mode 100644
index 5b3a2c4..0000000
Binary files a/smart_service/masters/doctype/tech_spec_details/__pycache__/tech_spec_details.cpython-38.pyc and /dev/null differ
diff --git a/smart_service/masters/doctype/tech_spec_details/tech_spec_details.json b/smart_service/masters/doctype/tech_spec_details/tech_spec_details.json
deleted file mode 100644
index c66e1ee..0000000
--- a/smart_service/masters/doctype/tech_spec_details/tech_spec_details.json
+++ /dev/null
@@ -1,69 +0,0 @@
-{
- "actions": [],
- "creation": "2022-02-13 06:00:16.719229",
- "doctype": "DocType",
- "editable_grid": 1,
- "engine": "InnoDB",
- "field_order": [
- "heading",
- "item",
- "units",
- "value",
- "remarks"
- ],
- "fields": [
- {
- "columns": 2,
- "fieldname": "heading",
- "fieldtype": "Link",
- "in_list_view": 1,
- "label": "Heading",
- "options": "Tech Spec Headings",
- "reqd": 1
- },
- {
- "columns": 3,
- "fieldname": "item",
- "fieldtype": "Link",
- "in_list_view": 1,
- "label": "Item",
- "options": "Tech Spec Items",
- "reqd": 1
- },
- {
- "columns": 3,
- "fieldname": "value",
- "fieldtype": "Small Text",
- "in_list_view": 1,
- "label": "Value",
- "reqd": 1
- },
- {
- "columns": 1,
- "fieldname": "remarks",
- "fieldtype": "Data",
- "in_list_view": 1,
- "label": "Remarks"
- },
- {
- "columns": 1,
- "fetch_from": "item.unit",
- "fieldname": "units",
- "fieldtype": "Data",
- "in_list_view": 1,
- "label": "Units",
- "read_only": 1
- }
- ],
- "index_web_pages_for_search": 1,
- "istable": 1,
- "links": [],
- "modified": "2022-02-13 06:08:35.783511",
- "modified_by": "Administrator",
- "module": "Masters",
- "name": "Tech Spec Details",
- "owner": "Administrator",
- "permissions": [],
- "sort_field": "modified",
- "sort_order": "DESC"
-}
\ No newline at end of file
diff --git a/smart_service/masters/doctype/tech_spec_details/tech_spec_details.py b/smart_service/masters/doctype/tech_spec_details/tech_spec_details.py
deleted file mode 100644
index 8f42f0f..0000000
--- a/smart_service/masters/doctype/tech_spec_details/tech_spec_details.py
+++ /dev/null
@@ -1,8 +0,0 @@
-# Copyright (c) 2022, Hard n Soft Technologies Pvt Ltd and contributors
-# For license information, please see license.txt
-
-# import frappe
-from frappe.model.document import Document
-
-class TechSpecDetails(Document):
- pass
diff --git a/smart_service/masters/doctype/tech_spec_headings/__init__.py b/smart_service/masters/doctype/tech_spec_headings/__init__.py
deleted file mode 100644
index e69de29..0000000
diff --git a/smart_service/masters/doctype/tech_spec_headings/__pycache__/__init__.cpython-38.pyc b/smart_service/masters/doctype/tech_spec_headings/__pycache__/__init__.cpython-38.pyc
deleted file mode 100644
index 89bcee6..0000000
Binary files a/smart_service/masters/doctype/tech_spec_headings/__pycache__/__init__.cpython-38.pyc and /dev/null differ
diff --git a/smart_service/masters/doctype/tech_spec_headings/__pycache__/tech_spec_headings.cpython-38.pyc b/smart_service/masters/doctype/tech_spec_headings/__pycache__/tech_spec_headings.cpython-38.pyc
deleted file mode 100644
index 4957de3..0000000
Binary files a/smart_service/masters/doctype/tech_spec_headings/__pycache__/tech_spec_headings.cpython-38.pyc and /dev/null differ
diff --git a/smart_service/masters/doctype/tech_spec_headings/tech_spec_headings.js b/smart_service/masters/doctype/tech_spec_headings/tech_spec_headings.js
deleted file mode 100644
index d41f68a..0000000
--- a/smart_service/masters/doctype/tech_spec_headings/tech_spec_headings.js
+++ /dev/null
@@ -1,8 +0,0 @@
-// Copyright (c) 2022, Hard n Soft Technologies Pvt Ltd and contributors
-// For license information, please see license.txt
-
-frappe.ui.form.on('Tech Spec Headings', {
- // refresh: function(frm) {
-
- // }
-});
diff --git a/smart_service/masters/doctype/tech_spec_headings/tech_spec_headings.json b/smart_service/masters/doctype/tech_spec_headings/tech_spec_headings.json
deleted file mode 100644
index 45f2a06..0000000
--- a/smart_service/masters/doctype/tech_spec_headings/tech_spec_headings.json
+++ /dev/null
@@ -1,45 +0,0 @@
-{
- "actions": [],
- "autoname": "format:{heading}",
- "creation": "2022-02-13 05:40:45.962655",
- "doctype": "DocType",
- "editable_grid": 1,
- "engine": "InnoDB",
- "field_order": [
- "heading"
- ],
- "fields": [
- {
- "fieldname": "heading",
- "fieldtype": "Data",
- "in_list_view": 1,
- "label": "Heading",
- "reqd": 1
- }
- ],
- "index_web_pages_for_search": 1,
- "links": [],
- "modified": "2022-02-13 05:43:37.681423",
- "modified_by": "Administrator",
- "module": "Masters",
- "name": "Tech Spec Headings",
- "owner": "Administrator",
- "permissions": [
- {
- "create": 1,
- "delete": 1,
- "email": 1,
- "export": 1,
- "print": 1,
- "read": 1,
- "report": 1,
- "role": "System Manager",
- "share": 1,
- "write": 1
- }
- ],
- "sort_field": "modified",
- "sort_order": "DESC",
- "title_field": "heading",
- "track_changes": 1
-}
\ No newline at end of file
diff --git a/smart_service/masters/doctype/tech_spec_headings/tech_spec_headings.py b/smart_service/masters/doctype/tech_spec_headings/tech_spec_headings.py
deleted file mode 100644
index 4ba7a51..0000000
--- a/smart_service/masters/doctype/tech_spec_headings/tech_spec_headings.py
+++ /dev/null
@@ -1,8 +0,0 @@
-# Copyright (c) 2022, Hard n Soft Technologies Pvt Ltd and contributors
-# For license information, please see license.txt
-
-# import frappe
-from frappe.model.document import Document
-
-class TechSpecHeadings(Document):
- pass
diff --git a/smart_service/masters/doctype/tech_spec_headings/test_tech_spec_headings.py b/smart_service/masters/doctype/tech_spec_headings/test_tech_spec_headings.py
deleted file mode 100644
index f092ef2..0000000
--- a/smart_service/masters/doctype/tech_spec_headings/test_tech_spec_headings.py
+++ /dev/null
@@ -1,8 +0,0 @@
-# Copyright (c) 2022, Hard n Soft Technologies Pvt Ltd and Contributors
-# See license.txt
-
-# import frappe
-import unittest
-
-class TestTechSpecHeadings(unittest.TestCase):
- pass
diff --git a/smart_service/masters/doctype/tech_spec_items/__init__.py b/smart_service/masters/doctype/tech_spec_items/__init__.py
deleted file mode 100644
index e69de29..0000000
diff --git a/smart_service/masters/doctype/tech_spec_items/__pycache__/__init__.cpython-38.pyc b/smart_service/masters/doctype/tech_spec_items/__pycache__/__init__.cpython-38.pyc
deleted file mode 100644
index ab79274..0000000
Binary files a/smart_service/masters/doctype/tech_spec_items/__pycache__/__init__.cpython-38.pyc and /dev/null differ
diff --git a/smart_service/masters/doctype/tech_spec_items/__pycache__/tech_spec_items.cpython-38.pyc b/smart_service/masters/doctype/tech_spec_items/__pycache__/tech_spec_items.cpython-38.pyc
deleted file mode 100644
index 065900b..0000000
Binary files a/smart_service/masters/doctype/tech_spec_items/__pycache__/tech_spec_items.cpython-38.pyc and /dev/null differ
diff --git a/smart_service/masters/doctype/tech_spec_items/tech_spec_items.js b/smart_service/masters/doctype/tech_spec_items/tech_spec_items.js
deleted file mode 100644
index e482165..0000000
--- a/smart_service/masters/doctype/tech_spec_items/tech_spec_items.js
+++ /dev/null
@@ -1,8 +0,0 @@
-// Copyright (c) 2022, Hard n Soft Technologies Pvt Ltd and contributors
-// For license information, please see license.txt
-
-frappe.ui.form.on('Tech Spec Items', {
- // refresh: function(frm) {
-
- // }
-});
diff --git a/smart_service/masters/doctype/tech_spec_items/tech_spec_items.json b/smart_service/masters/doctype/tech_spec_items/tech_spec_items.json
deleted file mode 100644
index 11e0a0e..0000000
--- a/smart_service/masters/doctype/tech_spec_items/tech_spec_items.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "actions": [],
- "autoname": "format:{item}",
- "creation": "2022-02-13 05:43:20.811829",
- "doctype": "DocType",
- "editable_grid": 1,
- "engine": "InnoDB",
- "field_order": [
- "item",
- "heading",
- "unit"
- ],
- "fields": [
- {
- "fieldname": "item",
- "fieldtype": "Data",
- "in_list_view": 1,
- "in_standard_filter": 1,
- "label": "Item",
- "reqd": 1
- },
- {
- "fieldname": "heading",
- "fieldtype": "Link",
- "in_list_view": 1,
- "in_standard_filter": 1,
- "label": "Heading",
- "options": "Tech Spec Headings",
- "reqd": 1
- },
- {
- "fieldname": "unit",
- "fieldtype": "Data",
- "in_list_view": 1,
- "label": "Unit"
- }
- ],
- "index_web_pages_for_search": 1,
- "links": [],
- "modified": "2022-02-13 17:48:26.314704",
- "modified_by": "Administrator",
- "module": "Masters",
- "name": "Tech Spec Items",
- "owner": "Administrator",
- "permissions": [
- {
- "create": 1,
- "delete": 1,
- "email": 1,
- "export": 1,
- "print": 1,
- "read": 1,
- "report": 1,
- "role": "System Manager",
- "share": 1,
- "write": 1
- }
- ],
- "search_fields": "heading",
- "sort_field": "modified",
- "sort_order": "DESC",
- "title_field": "item",
- "track_changes": 1
-}
\ No newline at end of file
diff --git a/smart_service/masters/doctype/tech_spec_items/tech_spec_items.py b/smart_service/masters/doctype/tech_spec_items/tech_spec_items.py
deleted file mode 100644
index becbfb3..0000000
--- a/smart_service/masters/doctype/tech_spec_items/tech_spec_items.py
+++ /dev/null
@@ -1,8 +0,0 @@
-# Copyright (c) 2022, Hard n Soft Technologies Pvt Ltd and contributors
-# For license information, please see license.txt
-
-# import frappe
-from frappe.model.document import Document
-
-class TechSpecItems(Document):
- pass
diff --git a/smart_service/masters/doctype/tech_spec_items/test_tech_spec_items.py b/smart_service/masters/doctype/tech_spec_items/test_tech_spec_items.py
deleted file mode 100644
index 37dac18..0000000
--- a/smart_service/masters/doctype/tech_spec_items/test_tech_spec_items.py
+++ /dev/null
@@ -1,8 +0,0 @@
-# Copyright (c) 2022, Hard n Soft Technologies Pvt Ltd and Contributors
-# See license.txt
-
-# import frappe
-import unittest
-
-class TestTechSpecItems(unittest.TestCase):
- pass
diff --git a/smart_service/masters/doctype/transmission/__pycache__/__init__.cpython-38.pyc b/smart_service/masters/doctype/transmission/__pycache__/__init__.cpython-38.pyc
index a970e17..5b8dc78 100644
Binary files a/smart_service/masters/doctype/transmission/__pycache__/__init__.cpython-38.pyc and b/smart_service/masters/doctype/transmission/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/masters/doctype/transmission/__pycache__/transmission.cpython-38.pyc b/smart_service/masters/doctype/transmission/__pycache__/transmission.cpython-38.pyc
index 45156b3..7d020d5 100644
Binary files a/smart_service/masters/doctype/transmission/__pycache__/transmission.cpython-38.pyc and b/smart_service/masters/doctype/transmission/__pycache__/transmission.cpython-38.pyc differ
diff --git a/smart_service/masters/doctype/variant/__pycache__/__init__.cpython-38.pyc b/smart_service/masters/doctype/variant/__pycache__/__init__.cpython-38.pyc
index ad8ca93..81f4b64 100644
Binary files a/smart_service/masters/doctype/variant/__pycache__/__init__.cpython-38.pyc and b/smart_service/masters/doctype/variant/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/masters/doctype/variant/__pycache__/variant.cpython-38.pyc b/smart_service/masters/doctype/variant/__pycache__/variant.cpython-38.pyc
index 9e03e60..3ea54e1 100644
Binary files a/smart_service/masters/doctype/variant/__pycache__/variant.cpython-38.pyc and b/smart_service/masters/doctype/variant/__pycache__/variant.cpython-38.pyc differ
diff --git a/smart_service/masters/doctype/vehicle/__pycache__/__init__.cpython-38.pyc b/smart_service/masters/doctype/vehicle/__pycache__/__init__.cpython-38.pyc
index bf24fb9..800af7a 100644
Binary files a/smart_service/masters/doctype/vehicle/__pycache__/__init__.cpython-38.pyc and b/smart_service/masters/doctype/vehicle/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/masters/doctype/vehicle/__pycache__/vehicle.cpython-38.pyc b/smart_service/masters/doctype/vehicle/__pycache__/vehicle.cpython-38.pyc
index 33e7104..925ef7b 100644
Binary files a/smart_service/masters/doctype/vehicle/__pycache__/vehicle.cpython-38.pyc and b/smart_service/masters/doctype/vehicle/__pycache__/vehicle.cpython-38.pyc differ
diff --git a/smart_service/masters/doctype/vehicle_segment/__pycache__/__init__.cpython-38.pyc b/smart_service/masters/doctype/vehicle_segment/__pycache__/__init__.cpython-38.pyc
index 1f37eb6..45b1cdb 100644
Binary files a/smart_service/masters/doctype/vehicle_segment/__pycache__/__init__.cpython-38.pyc and b/smart_service/masters/doctype/vehicle_segment/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/masters/doctype/vehicle_segment/__pycache__/vehicle_segment.cpython-38.pyc b/smart_service/masters/doctype/vehicle_segment/__pycache__/vehicle_segment.cpython-38.pyc
index 5ef2c8d..58c71d9 100644
Binary files a/smart_service/masters/doctype/vehicle_segment/__pycache__/vehicle_segment.cpython-38.pyc and b/smart_service/masters/doctype/vehicle_segment/__pycache__/vehicle_segment.cpython-38.pyc differ
diff --git a/smart_service/masters/doctype/vehicle_sk/__pycache__/__init__.cpython-38.pyc b/smart_service/masters/doctype/vehicle_sk/__pycache__/__init__.cpython-38.pyc
index 219f279..2d29fdb 100644
Binary files a/smart_service/masters/doctype/vehicle_sk/__pycache__/__init__.cpython-38.pyc and b/smart_service/masters/doctype/vehicle_sk/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/masters/doctype/vehicle_sk/__pycache__/vehicle_sk.cpython-38.pyc b/smart_service/masters/doctype/vehicle_sk/__pycache__/vehicle_sk.cpython-38.pyc
index 1665c4e..487e293 100644
Binary files a/smart_service/masters/doctype/vehicle_sk/__pycache__/vehicle_sk.cpython-38.pyc and b/smart_service/masters/doctype/vehicle_sk/__pycache__/vehicle_sk.cpython-38.pyc differ
diff --git a/smart_service/reports/__pycache__/__init__.cpython-38.pyc b/smart_service/reports/__pycache__/__init__.cpython-38.pyc
index 1dc44fe..ddcb831 100644
Binary files a/smart_service/reports/__pycache__/__init__.cpython-38.pyc and b/smart_service/reports/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/transactions/__pycache__/__init__.cpython-38.pyc b/smart_service/transactions/__pycache__/__init__.cpython-38.pyc
index e3ee8fd..904a8fb 100644
Binary files a/smart_service/transactions/__pycache__/__init__.cpython-38.pyc and b/smart_service/transactions/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/__pycache__/__init__.cpython-38.pyc b/smart_service/transactions/doctype/__pycache__/__init__.cpython-38.pyc
index d7c3f2b..c5bdddd 100644
Binary files a/smart_service/transactions/doctype/__pycache__/__init__.cpython-38.pyc and b/smart_service/transactions/doctype/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/config_kilometer/__pycache__/__init__.cpython-38.pyc b/smart_service/transactions/doctype/config_kilometer/__pycache__/__init__.cpython-38.pyc
index 92b2722..67f1776 100644
Binary files a/smart_service/transactions/doctype/config_kilometer/__pycache__/__init__.cpython-38.pyc and b/smart_service/transactions/doctype/config_kilometer/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/config_kilometer/__pycache__/config_kilometer.cpython-38.pyc b/smart_service/transactions/doctype/config_kilometer/__pycache__/config_kilometer.cpython-38.pyc
index a4c174a..6548986 100644
Binary files a/smart_service/transactions/doctype/config_kilometer/__pycache__/config_kilometer.cpython-38.pyc and b/smart_service/transactions/doctype/config_kilometer/__pycache__/config_kilometer.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/fish/__pycache__/__init__.cpython-38.pyc b/smart_service/transactions/doctype/fish/__pycache__/__init__.cpython-38.pyc
index d73412c..f45a6de 100644
Binary files a/smart_service/transactions/doctype/fish/__pycache__/__init__.cpython-38.pyc and b/smart_service/transactions/doctype/fish/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/fish/__pycache__/fish.cpython-38.pyc b/smart_service/transactions/doctype/fish/__pycache__/fish.cpython-38.pyc
index 4e17512..1c1b97a 100644
Binary files a/smart_service/transactions/doctype/fish/__pycache__/fish.cpython-38.pyc and b/smart_service/transactions/doctype/fish/__pycache__/fish.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/kilometer_mapping/__pycache__/__init__.cpython-38.pyc b/smart_service/transactions/doctype/kilometer_mapping/__pycache__/__init__.cpython-38.pyc
index 38e5250..b65ae46 100644
Binary files a/smart_service/transactions/doctype/kilometer_mapping/__pycache__/__init__.cpython-38.pyc and b/smart_service/transactions/doctype/kilometer_mapping/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/kilometer_mapping/__pycache__/kilometer_mapping.cpython-38.pyc b/smart_service/transactions/doctype/kilometer_mapping/__pycache__/kilometer_mapping.cpython-38.pyc
index fb5e3ae..6dde310 100644
Binary files a/smart_service/transactions/doctype/kilometer_mapping/__pycache__/kilometer_mapping.cpython-38.pyc and b/smart_service/transactions/doctype/kilometer_mapping/__pycache__/kilometer_mapping.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/kilometer_mapping_items/__pycache__/__init__.cpython-38.pyc b/smart_service/transactions/doctype/kilometer_mapping_items/__pycache__/__init__.cpython-38.pyc
index 3d5e95f..bba4461 100644
Binary files a/smart_service/transactions/doctype/kilometer_mapping_items/__pycache__/__init__.cpython-38.pyc and b/smart_service/transactions/doctype/kilometer_mapping_items/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/kilometer_mapping_items/__pycache__/kilometer_mapping_items.cpython-38.pyc b/smart_service/transactions/doctype/kilometer_mapping_items/__pycache__/kilometer_mapping_items.cpython-38.pyc
index 86947e6..9339623 100644
Binary files a/smart_service/transactions/doctype/kilometer_mapping_items/__pycache__/kilometer_mapping_items.cpython-38.pyc and b/smart_service/transactions/doctype/kilometer_mapping_items/__pycache__/kilometer_mapping_items.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/kilometer_mapping_items_temp/__pycache__/__init__.cpython-38.pyc b/smart_service/transactions/doctype/kilometer_mapping_items_temp/__pycache__/__init__.cpython-38.pyc
index 6b8d23f..308223a 100644
Binary files a/smart_service/transactions/doctype/kilometer_mapping_items_temp/__pycache__/__init__.cpython-38.pyc and b/smart_service/transactions/doctype/kilometer_mapping_items_temp/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/kilometer_mapping_items_temp/__pycache__/kilometer_mapping_items_temp.cpython-38.pyc b/smart_service/transactions/doctype/kilometer_mapping_items_temp/__pycache__/kilometer_mapping_items_temp.cpython-38.pyc
index e3ee5fb..00f14da 100644
Binary files a/smart_service/transactions/doctype/kilometer_mapping_items_temp/__pycache__/kilometer_mapping_items_temp.cpython-38.pyc and b/smart_service/transactions/doctype/kilometer_mapping_items_temp/__pycache__/kilometer_mapping_items_temp.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/pro/__pycache__/__init__.cpython-38.pyc b/smart_service/transactions/doctype/pro/__pycache__/__init__.cpython-38.pyc
index 1f50c2a..b9dbd9c 100644
Binary files a/smart_service/transactions/doctype/pro/__pycache__/__init__.cpython-38.pyc and b/smart_service/transactions/doctype/pro/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/pro/__pycache__/pro.cpython-38.pyc b/smart_service/transactions/doctype/pro/__pycache__/pro.cpython-38.pyc
index 22ef816..c98fa44 100644
Binary files a/smart_service/transactions/doctype/pro/__pycache__/pro.cpython-38.pyc and b/smart_service/transactions/doctype/pro/__pycache__/pro.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/procedure/__pycache__/__init__.cpython-38.pyc b/smart_service/transactions/doctype/procedure/__pycache__/__init__.cpython-38.pyc
index f54427b..397813c 100644
Binary files a/smart_service/transactions/doctype/procedure/__pycache__/__init__.cpython-38.pyc and b/smart_service/transactions/doctype/procedure/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/procedure/__pycache__/procedure.cpython-38.pyc b/smart_service/transactions/doctype/procedure/__pycache__/procedure.cpython-38.pyc
index 29a1436..f0c9414 100644
Binary files a/smart_service/transactions/doctype/procedure/__pycache__/procedure.cpython-38.pyc and b/smart_service/transactions/doctype/procedure/__pycache__/procedure.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/procedure/procedure.json b/smart_service/transactions/doctype/procedure/procedure.json
index 7c4ae6d..026a3d0 100644
--- a/smart_service/transactions/doctype/procedure/procedure.json
+++ b/smart_service/transactions/doctype/procedure/procedure.json
@@ -34,6 +34,7 @@
"section_break_18",
"procedure_details",
"html_reference_section",
+ "html_reference",
"procedure_html_ref"
],
"fields": [
@@ -204,7 +205,6 @@
"collapsible": 1,
"fieldname": "html_reference_section",
"fieldtype": "Section Break",
- "hidden": 1,
"label": "HTML Reference"
},
{
@@ -223,11 +223,16 @@
"fieldtype": "Select",
"label": "Step Name",
"read_only_depends_on": "eval:doc.procedure_filter == \"All\""
+ },
+ {
+ "fieldname": "html_reference",
+ "fieldtype": "HTML",
+ "label": "HTML Reference"
}
],
"index_web_pages_for_search": 1,
"links": [],
- "modified": "2022-03-01 17:31:37.064021",
+ "modified": "2022-03-04 11:39:52.723922",
"modified_by": "Administrator",
"module": "Transactions",
"name": "Procedure",
diff --git a/smart_service/transactions/doctype/procedure_details/__pycache__/__init__.cpython-38.pyc b/smart_service/transactions/doctype/procedure_details/__pycache__/__init__.cpython-38.pyc
index 12f83c4..c39c900 100644
Binary files a/smart_service/transactions/doctype/procedure_details/__pycache__/__init__.cpython-38.pyc and b/smart_service/transactions/doctype/procedure_details/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/procedure_details/__pycache__/procedure_details.cpython-38.pyc b/smart_service/transactions/doctype/procedure_details/__pycache__/procedure_details.cpython-38.pyc
index 8403f74..151583b 100644
Binary files a/smart_service/transactions/doctype/procedure_details/__pycache__/procedure_details.cpython-38.pyc and b/smart_service/transactions/doctype/procedure_details/__pycache__/procedure_details.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/procedure_html_ref/__pycache__/__init__.cpython-38.pyc b/smart_service/transactions/doctype/procedure_html_ref/__pycache__/__init__.cpython-38.pyc
index c8ee9fc..5104eb4 100644
Binary files a/smart_service/transactions/doctype/procedure_html_ref/__pycache__/__init__.cpython-38.pyc and b/smart_service/transactions/doctype/procedure_html_ref/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/procedure_html_ref/__pycache__/procedure_html_ref.cpython-38.pyc b/smart_service/transactions/doctype/procedure_html_ref/__pycache__/procedure_html_ref.cpython-38.pyc
index 8febc19..b81e18d 100644
Binary files a/smart_service/transactions/doctype/procedure_html_ref/__pycache__/procedure_html_ref.cpython-38.pyc and b/smart_service/transactions/doctype/procedure_html_ref/__pycache__/procedure_html_ref.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/procedure_name/__pycache__/__init__.cpython-38.pyc b/smart_service/transactions/doctype/procedure_name/__pycache__/__init__.cpython-38.pyc
index 9742df5..7e41e7c 100644
Binary files a/smart_service/transactions/doctype/procedure_name/__pycache__/__init__.cpython-38.pyc and b/smart_service/transactions/doctype/procedure_name/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/procedure_name/__pycache__/procedure_name.cpython-38.pyc b/smart_service/transactions/doctype/procedure_name/__pycache__/procedure_name.cpython-38.pyc
index aa7283f..05b2fd6 100644
Binary files a/smart_service/transactions/doctype/procedure_name/__pycache__/procedure_name.cpython-38.pyc and b/smart_service/transactions/doctype/procedure_name/__pycache__/procedure_name.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/procedure_procedure_list/__pycache__/__init__.cpython-38.pyc b/smart_service/transactions/doctype/procedure_procedure_list/__pycache__/__init__.cpython-38.pyc
index e6e7019..29b654b 100644
Binary files a/smart_service/transactions/doctype/procedure_procedure_list/__pycache__/__init__.cpython-38.pyc and b/smart_service/transactions/doctype/procedure_procedure_list/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/procedure_procedure_list/__pycache__/procedure_procedure_list.cpython-38.pyc b/smart_service/transactions/doctype/procedure_procedure_list/__pycache__/procedure_procedure_list.cpython-38.pyc
index 55aa0d0..d1e91b4 100644
Binary files a/smart_service/transactions/doctype/procedure_procedure_list/__pycache__/procedure_procedure_list.cpython-38.pyc and b/smart_service/transactions/doctype/procedure_procedure_list/__pycache__/procedure_procedure_list.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/procedure_step_name/__pycache__/__init__.cpython-38.pyc b/smart_service/transactions/doctype/procedure_step_name/__pycache__/__init__.cpython-38.pyc
index 7da2b85..543d7bd 100644
Binary files a/smart_service/transactions/doctype/procedure_step_name/__pycache__/__init__.cpython-38.pyc and b/smart_service/transactions/doctype/procedure_step_name/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/procedure_step_name/__pycache__/procedure_step_name.cpython-38.pyc b/smart_service/transactions/doctype/procedure_step_name/__pycache__/procedure_step_name.cpython-38.pyc
index 6ebe064..e502c13 100644
Binary files a/smart_service/transactions/doctype/procedure_step_name/__pycache__/procedure_step_name.cpython-38.pyc and b/smart_service/transactions/doctype/procedure_step_name/__pycache__/procedure_step_name.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/publish/__pycache__/__init__.cpython-38.pyc b/smart_service/transactions/doctype/publish/__pycache__/__init__.cpython-38.pyc
index 20f3c5b..a767963 100644
Binary files a/smart_service/transactions/doctype/publish/__pycache__/__init__.cpython-38.pyc and b/smart_service/transactions/doctype/publish/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/publish/__pycache__/publish.cpython-38.pyc b/smart_service/transactions/doctype/publish/__pycache__/publish.cpython-38.pyc
index d8d56a3..e58073b 100644
Binary files a/smart_service/transactions/doctype/publish/__pycache__/publish.cpython-38.pyc and b/smart_service/transactions/doctype/publish/__pycache__/publish.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/publish/publish.js b/smart_service/transactions/doctype/publish/publish.js
index b1264b5..35a2203 100644
--- a/smart_service/transactions/doctype/publish/publish.js
+++ b/smart_service/transactions/doctype/publish/publish.js
@@ -7,7 +7,19 @@ frappe.ui.form.on('Publish', {
return "green"
})
-
+ // if(frm.doc.docstatus === 1 && frm.doc.publish_status == 'Published'){
+ // frm.add_custom_button(__('Global Publish'), function(){
+ // frappe.call({
+ // method: "smart_service.transactions.doctype.publish.publish.global_publish",
+ // args: {
+ // "doc": frm.doc.name,
+ // },
+ // callback:function(r){
+ // cur_frm.reload_doc();
+ // }
+ // });
+ // }).addClass("btn-warning").css({'background-color':'#f5b0cd', 'color':'black'});
+ // }
}
// function(frm) {
diff --git a/smart_service/transactions/doctype/publish/publish.json b/smart_service/transactions/doctype/publish/publish.json
index 7c89534..9195557 100644
--- a/smart_service/transactions/doctype/publish/publish.json
+++ b/smart_service/transactions/doctype/publish/publish.json
@@ -44,7 +44,8 @@
{
"fieldname": "release_description",
"fieldtype": "Small Text",
- "label": "Publish Description"
+ "label": "Publish Description",
+ "reqd": 1
},
{
"fieldname": "section_break_5",
@@ -224,7 +225,7 @@
"index_web_pages_for_search": 1,
"is_submittable": 1,
"links": [],
- "modified": "2022-02-24 13:02:28.906452",
+ "modified": "2022-03-04 16:35:59.740494",
"modified_by": "Administrator",
"module": "Transactions",
"name": "Publish",
diff --git a/smart_service/transactions/doctype/publish/publish.py b/smart_service/transactions/doctype/publish/publish.py
index b6e6984..0cdbb20 100644
--- a/smart_service/transactions/doctype/publish/publish.py
+++ b/smart_service/transactions/doctype/publish/publish.py
@@ -45,26 +45,34 @@ class Publish(Document):
# # return json.dump(listProc)
# return docs_child
-# def print(inputText):
-# frappe.msgprint(str(inputText))
+
@frappe.whitelist()
def cal_ver(vehicle,lang,publish_type):
- ver = frappe.db.sql("""select max(version),publish_type from {current_db_name}.tabPublish where vehicle = '{vehi}' and language = '{lang}';""".format(current_db_name=current_db_name,vehi=vehicle,lang=lang))
- ver1 = frappe.db.sql("""select max(version),publish_type from {current_db_name}.tabPublish where vehicle = '{vehi}' and language = '{lang}' and publish_type='Global';""".format(current_db_name=current_db_name,vehi=vehicle,lang=lang))
- # frappe.msgprint(str(ver))
- v = 0.0
- if publish_type=='Global':
- if ver1[0][0] == None:
+ ver = frappe.db.sql("""select max(version),publish_type from {current_db_name}.tabPublish where vehicle = '{vehi}' and language = '{lang}';"""
+ .format(current_db_name=current_db_name,vehi=vehicle,lang=lang))
+ v = 0.0
+
+ if publish_type == 'Global':
+ if ver[0][0] == None:
v = 1.0
else:
- v= float(int(ver1[0][0])) + 1.0
-
- elif publish_type=='Internal':
+ v= int(float(ver[0][0])) + 1.
+
+ elif publish_type == 'Internal':
if ver[0][0] == None:
v = 0.1
else:
v= float(ver[0][0]) + 0.1
v =float("{:.2f}".format(v,1))
+
return v
-
\ No newline at end of file
+
+@frappe.whitelist()
+def global_publish(doc):
+ doc = frappe.get_doc("Publish",doc)
+ publish_record = frappe.new_doc("Publish")
+ publish.language = doc.language
+ publish.planned_publish_date = doc.planned_publish_date
+ publish.publish_type = "Global"
+ publish.save(ignore_permissions=True)
diff --git a/smart_service/transactions/doctype/publish_docs/__pycache__/__init__.cpython-38.pyc b/smart_service/transactions/doctype/publish_docs/__pycache__/__init__.cpython-38.pyc
index 7802bfb..b7d15bc 100644
Binary files a/smart_service/transactions/doctype/publish_docs/__pycache__/__init__.cpython-38.pyc and b/smart_service/transactions/doctype/publish_docs/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/publish_docs/__pycache__/publish_docs.cpython-38.pyc b/smart_service/transactions/doctype/publish_docs/__pycache__/publish_docs.cpython-38.pyc
index 1c3947c..98bcf7b 100644
Binary files a/smart_service/transactions/doctype/publish_docs/__pycache__/publish_docs.cpython-38.pyc and b/smart_service/transactions/doctype/publish_docs/__pycache__/publish_docs.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/publish_temp_doc/__pycache__/__init__.cpython-38.pyc b/smart_service/transactions/doctype/publish_temp_doc/__pycache__/__init__.cpython-38.pyc
index 050af07..c10ae08 100644
Binary files a/smart_service/transactions/doctype/publish_temp_doc/__pycache__/__init__.cpython-38.pyc and b/smart_service/transactions/doctype/publish_temp_doc/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/publish_temp_doc/__pycache__/publish_temp_doc.cpython-38.pyc b/smart_service/transactions/doctype/publish_temp_doc/__pycache__/publish_temp_doc.cpython-38.pyc
index ab5ff49..6a15a9b 100644
Binary files a/smart_service/transactions/doctype/publish_temp_doc/__pycache__/publish_temp_doc.cpython-38.pyc and b/smart_service/transactions/doctype/publish_temp_doc/__pycache__/publish_temp_doc.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/publish_variant_mapping_assets/__pycache__/__init__.cpython-38.pyc b/smart_service/transactions/doctype/publish_variant_mapping_assets/__pycache__/__init__.cpython-38.pyc
index a05cfb2..c33275c 100644
Binary files a/smart_service/transactions/doctype/publish_variant_mapping_assets/__pycache__/__init__.cpython-38.pyc and b/smart_service/transactions/doctype/publish_variant_mapping_assets/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/publish_variant_mapping_assets/__pycache__/publish_variant_mapping_assets.cpython-38.pyc b/smart_service/transactions/doctype/publish_variant_mapping_assets/__pycache__/publish_variant_mapping_assets.cpython-38.pyc
index f485092..9255df0 100644
Binary files a/smart_service/transactions/doctype/publish_variant_mapping_assets/__pycache__/publish_variant_mapping_assets.cpython-38.pyc and b/smart_service/transactions/doctype/publish_variant_mapping_assets/__pycache__/publish_variant_mapping_assets.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/system_mapping/__pycache__/__init__.cpython-38.pyc b/smart_service/transactions/doctype/system_mapping/__pycache__/__init__.cpython-38.pyc
index d9972af..f40107f 100644
Binary files a/smart_service/transactions/doctype/system_mapping/__pycache__/__init__.cpython-38.pyc and b/smart_service/transactions/doctype/system_mapping/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/system_mapping/__pycache__/system_mapping.cpython-38.pyc b/smart_service/transactions/doctype/system_mapping/__pycache__/system_mapping.cpython-38.pyc
index 115b475..84612e6 100644
Binary files a/smart_service/transactions/doctype/system_mapping/__pycache__/system_mapping.cpython-38.pyc and b/smart_service/transactions/doctype/system_mapping/__pycache__/system_mapping.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/system_mapping/system_mapping.py b/smart_service/transactions/doctype/system_mapping/system_mapping.py
index 43f324d..b0fad68 100644
--- a/smart_service/transactions/doctype/system_mapping/system_mapping.py
+++ b/smart_service/transactions/doctype/system_mapping/system_mapping.py
@@ -73,8 +73,10 @@ def procedure(doctype, txt, searchfield, start, page_len, filters):
def system_filter(doctype, txt, searchfield, start, page_len, filters):
current_db_name = frappe.conf.get("db_name")
name = filters.get('system_filter')
- system = frappe.db.sql("""select name from `tabSystems` where name = %s""",name)
+ system = frappe.db.sql("""select name FROM {0}.`tabSystems` where name LIKE '{1}' and
+ (name like "%%%(txt)s%%") order by modified desc limit %(start)s, %(page_len)s """.format(current_db_name,name)%{'txt': txt, 'start': start, 'page_len': page_len})
if system:
return system
else:
- return frappe.db.sql("""select name from `tabSystems` where name != 'All'""")
+ return frappe.db.sql(""" select name FROM {0}.`tabSystems` where
+ (name like "%%%(txt)s%%") order by modified desc limit %(start)s, %(page_len)s """.format(current_db_name)%{'txt': txt, 'start': start, 'page_len': page_len})
diff --git a/smart_service/transactions/doctype/system_mapping_sub_system/__pycache__/__init__.cpython-38.pyc b/smart_service/transactions/doctype/system_mapping_sub_system/__pycache__/__init__.cpython-38.pyc
index fd93992..d966159 100644
Binary files a/smart_service/transactions/doctype/system_mapping_sub_system/__pycache__/__init__.cpython-38.pyc and b/smart_service/transactions/doctype/system_mapping_sub_system/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/system_mapping_sub_system/__pycache__/system_mapping_sub_system.cpython-38.pyc b/smart_service/transactions/doctype/system_mapping_sub_system/__pycache__/system_mapping_sub_system.cpython-38.pyc
index 63c99c2..5db7507 100644
Binary files a/smart_service/transactions/doctype/system_mapping_sub_system/__pycache__/system_mapping_sub_system.cpython-38.pyc and b/smart_service/transactions/doctype/system_mapping_sub_system/__pycache__/system_mapping_sub_system.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/system_mapping_system_assets/__pycache__/__init__.cpython-38.pyc b/smart_service/transactions/doctype/system_mapping_system_assets/__pycache__/__init__.cpython-38.pyc
index 358e7cb..82d1616 100644
Binary files a/smart_service/transactions/doctype/system_mapping_system_assets/__pycache__/__init__.cpython-38.pyc and b/smart_service/transactions/doctype/system_mapping_system_assets/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/system_mapping_system_assets/__pycache__/system_mapping_system_assets.cpython-38.pyc b/smart_service/transactions/doctype/system_mapping_system_assets/__pycache__/system_mapping_system_assets.cpython-38.pyc
index 5f93bff..b0c9945 100644
Binary files a/smart_service/transactions/doctype/system_mapping_system_assets/__pycache__/system_mapping_system_assets.cpython-38.pyc and b/smart_service/transactions/doctype/system_mapping_system_assets/__pycache__/system_mapping_system_assets.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/variant_mapping/__pycache__/__init__.cpython-38.pyc b/smart_service/transactions/doctype/variant_mapping/__pycache__/__init__.cpython-38.pyc
index 807cc41..08e9139 100644
Binary files a/smart_service/transactions/doctype/variant_mapping/__pycache__/__init__.cpython-38.pyc and b/smart_service/transactions/doctype/variant_mapping/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/variant_mapping/__pycache__/variant_mapping.cpython-38.pyc b/smart_service/transactions/doctype/variant_mapping/__pycache__/variant_mapping.cpython-38.pyc
index 0a0086e..f32f2f3 100644
Binary files a/smart_service/transactions/doctype/variant_mapping/__pycache__/variant_mapping.cpython-38.pyc and b/smart_service/transactions/doctype/variant_mapping/__pycache__/variant_mapping.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/variant_mapping_assets/__pycache__/__init__.cpython-38.pyc b/smart_service/transactions/doctype/variant_mapping_assets/__pycache__/__init__.cpython-38.pyc
index 1f2e1f2..6235cdf 100644
Binary files a/smart_service/transactions/doctype/variant_mapping_assets/__pycache__/__init__.cpython-38.pyc and b/smart_service/transactions/doctype/variant_mapping_assets/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/variant_mapping_assets/__pycache__/variant_mapping_assets.cpython-38.pyc b/smart_service/transactions/doctype/variant_mapping_assets/__pycache__/variant_mapping_assets.cpython-38.pyc
index 7f00038..d5449ce 100644
Binary files a/smart_service/transactions/doctype/variant_mapping_assets/__pycache__/variant_mapping_assets.cpython-38.pyc and b/smart_service/transactions/doctype/variant_mapping_assets/__pycache__/variant_mapping_assets.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/variant_mapping_sk/__pycache__/__init__.cpython-38.pyc b/smart_service/transactions/doctype/variant_mapping_sk/__pycache__/__init__.cpython-38.pyc
index 9cc058c..dd913ac 100644
Binary files a/smart_service/transactions/doctype/variant_mapping_sk/__pycache__/__init__.cpython-38.pyc and b/smart_service/transactions/doctype/variant_mapping_sk/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/transactions/doctype/variant_mapping_sk/__pycache__/variant_mapping_sk.cpython-38.pyc b/smart_service/transactions/doctype/variant_mapping_sk/__pycache__/variant_mapping_sk.cpython-38.pyc
index f1fca81..8eb34e1 100644
Binary files a/smart_service/transactions/doctype/variant_mapping_sk/__pycache__/variant_mapping_sk.cpython-38.pyc and b/smart_service/transactions/doctype/variant_mapping_sk/__pycache__/variant_mapping_sk.cpython-38.pyc differ
diff --git a/smart_service/transactions/report/__pycache__/__init__.cpython-38.pyc b/smart_service/transactions/report/__pycache__/__init__.cpython-38.pyc
index 3194733..a50f4db 100644
Binary files a/smart_service/transactions/report/__pycache__/__init__.cpython-38.pyc and b/smart_service/transactions/report/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/transactions/report/kilometer_mapping/__pycache__/__init__.cpython-38.pyc b/smart_service/transactions/report/kilometer_mapping/__pycache__/__init__.cpython-38.pyc
index 6bba7a1..2945143 100644
Binary files a/smart_service/transactions/report/kilometer_mapping/__pycache__/__init__.cpython-38.pyc and b/smart_service/transactions/report/kilometer_mapping/__pycache__/__init__.cpython-38.pyc differ
diff --git a/smart_service/transactions/report/kilometer_mapping/__pycache__/kilometer_mapping.cpython-38.pyc b/smart_service/transactions/report/kilometer_mapping/__pycache__/kilometer_mapping.cpython-38.pyc
index 4f3acd6..5ad891f 100644
Binary files a/smart_service/transactions/report/kilometer_mapping/__pycache__/kilometer_mapping.cpython-38.pyc and b/smart_service/transactions/report/kilometer_mapping/__pycache__/kilometer_mapping.cpython-38.pyc differ
diff --git a/smart_service/www/__pycache__/login.cpython-38.pyc b/smart_service/www/__pycache__/login.cpython-38.pyc
index 6b80454..0075bab 100644
Binary files a/smart_service/www/__pycache__/login.cpython-38.pyc and b/smart_service/www/__pycache__/login.cpython-38.pyc differ