Update and new files for karenderia merchant app modules
Updated files
Updated files
open the file protected/controller/AdminController.php look for function actionEmailTPL()
after the line 'order_request_cancel_to_admin'=>array( 'email'=>true, 'sms'=>true, 'push'=>false, 'email_tag'=>'customer_name,order_id,restaurant_name,sitename,siteurl', 'sms_tag'=>'customer_name,order_id,restaurant_name,sitename,siteurl', ), add 'food_is_done_to_driver'=>array( 'email'=>false, 'sms'=>false, 'push'=>true, 'email_tag'=>'', 'sms_tag'=>'', 'push_tag'=>'task_id,order_id,customer_name,notes,delivery_date,delivery_address,driver_name', ), 'auto_order_update'=>array( 'email'=>false, 'sms'=>false, 'push'=>true, 'email_tag'=>'', 'sms_tag'=>'', 'push_tag'=>'task_id,order_id', ), 'driver_update_to_merchant'=>array( 'email'=>false, 'sms'=>false, 'push'=>true, 'email_tag'=>'', 'sms_tag'=>'', 'push_tag'=>'task_id,order_id', )
open the file protected/controllers/AjaxadminController.php look for function actionsaveTemplateSettings()
after the line 'offline_new_bank_deposit_email', 'offline_new_bank_deposit_sms', add 'food_is_done_to_driver_push', 'auto_order_update_push', 'driver_update_to_merchant_push',