Resturant document yii2 website

First of all our changes can be found by searching 'RPSO' word in whole project.

Database changes are in this path : backoffice/protected/models/fixed_database.php .

Summary of changes :

  1.   Rapidcents payment gateway is added
    • search this comment : rapidcents__
    • protected/config/front_main.php
    • protected/modules/rapidcents folder
    • protected/components/RapidcentsService.php
    • backoffice/protected/controllers/ApibackendController.php
    • protected/controllers/InterfacemerchantController.php
    • protected/controllers/AccountController.php
    • backoffice/themes/classic/views/merchant/payment_create.php
  2. The doordash is added for delivering the orders
    • backoffice/protected/controllers/ApibackendController.php
    • backoffice/protected/components/DoorDashApi.php
    • backoffice/protected/models/fixed_database.php
    • protected/controllers/InterfacemerchantController.php
    • backoffice/protected/models/AR_doordash_call.php
  3. Print automaticlly order info after be accepted by a merchant manager
    • Search this comment :print order after acception
    • backoffice/protected/controllers/ApibackendController.php
    • backoffice/protected/controllers/ApiController.php  (search this comment : print order after acception )
    • protected/controllers/InterfacemerchantController.php
  4. The bug in saving  POS orders delivery_date and date_created is fixed
    • Search this comment : fix pos orders date time
    • backoffice/protected/controllers/ApibackendController.php
  5.   The bug in sending verification SMS for login is fixed
    • Search this comment : preprocceing the user phone number
    • protected/controllers/ApiController.php
  6. The 'payments' tab in settings customer panel is deleted
    • Search this comment: hide 'payments' in customer menu
    • protected/components/views/user-nav.php 1
    • protected/components/WidgetCustomerMenu.php 1
  7. Reset user password by phone number feature is added
    • Search this comment : Reset password by phone number
    • assets/js/front.bundle.js : vm_forgot_password object
    • protected/controllers/ApiController.php 
  8. The bug in saving orders is fixed (some orders saved for multiple merchants)
    1. search this comment :duplicate pos orders
    2. backoffice/protected/components/CPos.php
  9. 'custom' and 'quick' pickup is deleted for scheduled orderds
    • Search this comment : delete custom and quick pickup time for scheduled orders
    • backoffice/themes/classic/views/orders/order-details.php
  10. Fix loading "delivery now" component
    • search this comment : Fix loading "delivery now" component
    • assets/js/front.bundle.js
  11.  'change address' button is added
    • search this comment : "change address" Btn in "delivery details" modal
    • themes/rapidcents/views/account/checkout-address.php 1
    • assets/js/front.bundle.js 1
  12. Refund and partial refund order ability is added
    • search this comment: refund order
    • backoffice/assets/js/merchant.js
    • backoffice/assets/js/merchant.bundle.js
    • backoffice/protected/controllers/ApibackendController.php
    • protected/controllers/InterfacemerchantController.php
  13. In the order info print page , the order schedule time is  changed to bold with some '*' sign around it
    • backoffice/themes/classic/views/orders/template_print.php
  14. Change merchant signup
    • themes/rapidcents/views/merchant/merchant-signup.php
    • assets/js/front.bundle.js
    • protected/controllers/ApiController.php
    • backoffice/protected/models/AR_merchant_type_translation.php
    • backoffice/protected/models/fixed_database.php
  15. check if the order is accepted by merchant, customer has not be able to cancel it
    • search this : check if the order is accepted by merchant, customer has not be able to cancel it
    • protected/controllers/ApiController.php
  16. check if the order is canceled by customer, has not be accept
    • search this : check if the order is canceled by customer, has not be accept
    • backoffice/protected/controllers/ApibackendController.php
  17. Add send email when api rapidcents failed
    • protected/modules/rapidcents/controllers/RapidcentsapiController.php
  18. Add generate ach file
    • backoffice/protected/components/PrepareAchFile.php
    • backoffice/protected/models/AR_ach_requests.php
    • backoffice/protected/models/AR_ach_request_details.php
    • backoffice/protected/controllers/ApibackendController.php
  19. Add file for our website index in google
    • sitemap.xml
  20. Add terms and conditions in signup
    • themes/rapidcents/views/account/signup-less.php
    • assets/js/front.bundle.js
  21. Fixed bug about order not found in order details
    • backoffice/protected/models/AR_ordernew_summary_transaction.php
  22. Add merchant wallet and merchant wallet history
    • backoffice/protected/models/AR_merchant_wallet.php
    • backoffice/protected/models/AR_merchant_wallet_history.php
    • backoffice/protected/controllers/MerchantwalletController.php
    • backoffice/protected/controllers/MerchantwallethistoryController.php
    • backoffice/themes/classic/views/merchantwallet/merchant_wallet.php
    • backoffice/themes/classic/views/merchantwallethistory/merchant_wallet_history.php
    • protected/controllers/InterfacemerchantController.php
    • backoffice/protected/controllers/ApibackendController.php
    • backoffice/protected/models/fixed-menu-merchant.php
    • backoffice/protected/models/fixed_database.php
    • backoffice/protected/controllers/BackendmerchantController.php
  23. Add doorDash manual
    • backoffice/protected/controllers/DoordashmanualController.php
    • backoffice/protected/models/AR_doordash_manual.php
    • backoffice/themes/classic/views/doordashmanual/create.php
    • backoffice/themes/classic/views/doordashmanual/list.php
    • backoffice/protected/models/fixed_database.php
    • backoffice/protected/controllers/BackendmerchantController.php
  24. Add iframe in place order
    • themes/rapidcents/views/orders/order_place.php
  25. Added client payment method
    • backoffice/protected/models/fixed_database.php
  26. Fixed information name and image in list orders
    • themes/rapidcents/views/orders/order_place.php
    • themes/rapidcents/views/store/cart-data.php
    • backoffice/protected/models/AR_item.php
  27. login with mobile regex
    protected/controllers/ApiController.php
  28. address deactivate for add to cart
    assets/js/front.bundle.js
  29. redirect first page 
    protected/config/front_main.php
  30. add htaccess
  31. add runtime gitignore
  32. add food setting in admin for edit merchant
    backoffice/protected/controllers/VendorController.php
    backoffice/themes/classic/views/vendor/food_settings.php
  33. change picture RPS
    themes/rapidcents/assets/images
  34. add robot.txt
  35. fixed DB 
    backoffice/protected/models/fixed_database.php
    backoffice/protected/models/fixed-menu-merchant.php
    backoffice/protected/models/fixed-menu.php
    /backoffice/protected/models/update_v105.php
    backoffice/protected/models/update_v106.php
  36. cancel order just for new order
    1. protected/components/COrders.php
  37. print after cancel order
    1. Search this comment : print order after cancel
    2. /protected/controllers/ApiController.php
    3. backoffice/protected/controllers/ApibackendController.php
    4. backoffice/protected/components/FPtemplate.php
  38. Display include_utensils in print order template
    • Search this comment : display include_utensils in order print
    • backoffice/themes/classic/views/orders/template_print.php
    • backoffice/protected/components/FPtemplate.php
  39. The error ' Syntax error or access violation: 1064 You have an error in your SQL syntax; ...'   is fixed
    • Search this comment : SQL syntax error
    • protected/components/CMerchantListingV1.php
  40. The ability of sorting the category in custom order has added :
    • Search this comment : category order
    • protected/components/CMerchantMenu.php
    • backoffice/protected/controllers/FoodController.php
    • backoffice/protected/models/AR_category.php
    • backoffice/protected/models/fixed_database.php
  41. Order_id is saved in st_sms_broadcast_details
    • Search this comment : store order_id in st_sms_broadcast_details
    • backoffice/protected/components/CommonUtility.php
    • protected/components/CSMSsender.php
    • protected/controllers/TaskController.php
    • protected/controllers/TasksmsController.php
    • backoffice/protected/models/fixed_database.php
  42. The ability of select a printer for printing has added
    • backoffice/themes/classic/views/orders/template_print.php
    • backoffice/assets/js/merchant.bundle.js
    • backoffice/protected/controllers/ApibackendController.php
  43. the ability of sorting the foods in custom order has added:
    1. Search this comment : food order
    2. backoffice/protected/controllers/FoodController.php
    3. backoffice/protected/models/AR_item.php
    4. backoffice/protected/models/fixed_database.php
    5. backoffice/themes/classic/views/food/item_create.php
    6. protected/components/CMerchantMenu.php
  44. second template is added
    1. Search this comment : second template
  45. the size of images is changes to 2x
    1. search this comment : images size
    2. backoffice/protected/config/params.php
    3. protected/config/params.php
  46. set main branch
    1. search this comment : selecting main branch
    2. backoffice/protected/controllers/VendorController.php
    3. backoffice/protected/models/AR_merchant.php
    4. backoffice/themes/classic/views/vendor/merchant_info.php
    5. backoffice/protected/models/fixed_database.php
    6. backoffice/protected/components/AttributesTools.php
  47. fix search item in menu:
    1. search this comment : search menu
    2. protected/controllers/ApiController.php
    3. protected/components/CMerchantMenu.php
  48. delete home/restaurants/... from merchant top header
    1. search this comment : delete home/restaurants/... from merchant top header
    2. themes/rapidcents/views/store/merchant-top-header.php
  49. three D secure is added:
    1. search this comment : 3DSecure
    2. protected/modules/rapidcents/components/views/rapidcents-components.php
    3. protected/modules/rapidcents/assets/js/components-rapidcents.js
  50. filter customers by first_name, last_name, email and phone in buyers list page
    1. search this comment : filter customers by first_name, last_name, email and phone
    2. backoffice/protected/controllers/ApibackendController.php
    3. backoffice/protected/controllers/BackendController.php
  51. display delivery_instructions in print templates
    1. search this comment : RPSO delivery_instructions
    2. backoffice/themes/classic/views/orders/template_print.php
    3. backoffice/protected/components/FPtemplate.php
  52. delete refund and partial refund order from admin panel order details
    1. search this comment : delete refund and partial refund order from admin panel
    2. backoffice/themes/classic/views/orders/order-details.php
  53. translate notification messags
    1. search this comment : RPSO translate msg
    2. backoffice/protected/controllers/ApibackendController.php
  54. show message and refresh the page after successful refunding
    1. show message and refresh the page after successful refunding
    2. backoffice/assets/js/merchant.bundle.js
  55.  omit create AR_ordernew_transaction after rejection an order

    1. search this comment : omit create AR_ordernew_transaction after rejection an order
    2. protected/controllers/TaskController.php

Did you find this article useful?