I have a form request in my website, user can send request data to the admin and mus input email too (no login needed). this request in my tb_req (in my UserAddingController). After user send it, the data will show on admin dashboard (with the same table -> RequestDataController). What I want to do is, when admin accepted the data it will send the data on tb_req to the master table and the data in tb_req will deleted/move into master tabel. if the admin decline it the data will deleted from the tb_req and get email notification too (in the data not approved).I am using Laravel 5.5
Here is the code : UserAddingDataController = https://pastebin.pl/view/d7f02f56 Form Adding Data (show in UserAddingDataController) = https://pastebin.pl/view/14df70e8 RequestDataController = https://pastebin.pl/view/aa214696 MasterDataController = https://pastebin.pl/view/0ef3838f (I want to put the request aprroved here)
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire