| | |
| | | document.getElementById("reward1").remove(); |
| | | document.getElementById("rewardToday1").remove(); |
| | | document.getElementById("driverAudit1").remove(); |
| | | |
| | | document.getElementsByTag("title").get(0).text(2 == finalTCar.getAuthState() ? "Vehicle is verified and qualified" : "Vehicle is not verified and qualified"); |
| | | Element car_audit1_user = document.getElementById("car_audit1_user"); |
| | | car_audit1_user.text("Hello " + tDriver.getFirstName() + " " + tDriver.getLastName() + ","); |
| | | Element car_audit1_content = document.getElementById("car_audit1_content"); |
| | |
| | | }else{ |
| | | car_audit1_content.text("Sorry, your vehicle application was not approved. The reason for the failure is: incomplete filling of vehicle information."); |
| | | } |
| | | EmailUtil.send(tDriver.getEmail(), "Vehicle audit notice", document.html()); |
| | | EmailUtil.send(tDriver.getEmail(), 2 == finalTCar.getAuthState() ? "Vehicle is verified and qualified" : "Vehicle is not verified and qualified", document.html()); |
| | | }catch (Exception e){ |
| | | e.printStackTrace(); |
| | | } |