TEXT   35
Task ID
Guest on 22nd August 2022 07:37:32 AM


  1. Task ID
  2. -------
  3.  
  4. US731 Admin – Alert Messages – Reports and Tariff Changes
  5.  
  6.  
  7. Git Branch Name
  8. ---------------
  9.  
  10. US731-admin-alert-messages-reports-and-tariff-changes
  11.  
  12.  
  13. File List
  14. ---------
  15. new file:   app/Console/Commands/SendAlertMessage.php
  16. new file:   app/Http/Controllers/AlertMsgConfigController.php
  17. new file:   app/Models/AlertMsgConfig.php
  18. new file:   app/Models/AlertMsgConfigUser.php
  19. new file:   app/Models/EmailLog.php
  20. new file:   app/Models/ReportList.php
  21. new file:   app/Models/TariffList.php
  22. new file:   app/Traits/AlertNotification.php
  23. new file:   public/css/bootstrap-select.min.css
  24. new file:   public/js/admin/alertMsgConfig.js
  25. new file:   public/js/bootstrap-select.min.js
  26. new file:   resources/lang/en/alertMsgConfiguration.php
  27. new file:   resources/views/admin/alert_msg_config.blade.php
  28. new file:   resources/views/email/alert-msg-report.blade.php
  29. new file:   resources/views/email/tariff-change-notification.blade.php
  30. new file:   sql/US731.sql
  31.  
  32. modified:   app/Console/Kernel.php
  33. modified:   app/Helper/HelperMail.php
  34. modified:   app/Http/Controllers/AdditionalTariffController.php
  35. modified:   app/Http/Controllers/OvernightTariffController.php
  36. modified:   app/Http/Controllers/ReportController.php
  37. modified:   app/Http/Controllers/TariffController.php
  38. modified:   app/Http/Controllers/TransactionController.php
  39. modified:   app/Http/Middleware/AuthorisationAccess.php
  40. modified:   app/Http/routes.php
  41. modified:   app/Models/User.php
  42. modified:   public/js/sps.js
  43. modified:   resources/lang/en/menus.php
  44. modified:   resources/views/admin/additional_tariff_report_pdf.blade.php
  45. modified:   resources/views/default.blade.php
  46.  
  47.  
  48. Database changes
  49. ----------------
  50.  
  51. sql/US731.sql
  52.  
  53.  
  54. In case of new tariff addition to the system
  55. --------------------------------------------
  56.  
  57. 1. Insert tariff in the table `sps_tariff_list`
  58. After inserting tariff menu in table `sps_menu`, it is require to insert the same in table `sps_tariff_list`,
  59.  
  60. `sps_menu`.`menu_item` = `sps_tariff_list`.`tariff_name`
  61.  
  62. 2. Code
  63. In the respective controller file please add code in update method
  64. Please take reference of file - app/Http/Controllers/TariffController.php
  65.  
  66.  
  67. In case of new report addition to the system
  68. --------------------------------------------
  69.  
  70. 1. Insert report in the table `sps_reports_list`
  71. After inserting report menu in table `sps_menu`, it is require to insert the same in table `sps_reports_list`,
  72.  
  73. `sps_menu`.`menu_item` = `sps_reports_list`.`report_name`
  74.  
  75. 2. Code
  76. Code need to be added for respective report specifying route and parameters in file
  77.         app/Console/Commands/SendAlertMessage.php in switch case
  78.  
  79.  
  80. Artisan Command (background process)
  81. ------------------------------------
  82.  
  83. php artisan sendal

Raw Paste

Login or Register to edit or fork this paste. It's free.