PageSourceSearch

https://tanomo.asia/system/app/components/Email/email-confirm.controller.js?v=4

js tanomo.asia collected 2026-10-04 17:48:30 UTC 1,902 bytes, 51 lines download raw bytes

1App.controller('emailConfirm', function(SERVER_URL,$scope,$http, $rootScope, dbservice){
2	//get rootScope from module for check menu
3	$rootScope.checkMenu();
4	//Get rootScope from EmailInput
5	$scope.customer = $rootScope.customer;
6	$scope.person = $rootScope.person;
7	$scope.question = $rootScope.question;
8	//Check Data
9	if($scope.customer==undefined && $scope.person==undefined && $scope.question==undefined){
10		window.location = "#EmailInput";
11	}
12	$scope.buttonClicked = false;
13	$scope.getEmailClient = function(){
14		$("#uploadingAnim").css("display","inline");
15		//Check buttonClick
16		if($scope.buttonClicked==false){
17			//$scope.sendingEmail($scope.email ,"Customer - Tanomo",emailContent);
18			$scope.sendingEmail();
19			window.location = "#EmailComplete";
20			$scope.buttonClicked = true;
21		}
22	};/* end function */
23	 /**--------------------------------------------------------
24	   * SEND EMAIL 
25	   * @author Saly Sakey
26	   * @description Function for  remote sending email function 
27	   --------------------------------------------------------*/
28	$scope.sendingEmail = function(){
29		var email = __env.emailMDR;
30		$scope.tel = $scope.customer.tel; 
31		var subject = "Customer-Tanomo";
32		var emailBody = "間取り事業担当者 \n "
33		+"\n"
34		+"ホームページより見積り依頼が送信されましたので、 \n"
35		+"下記内容についてご確認ください。 \n"
36		+"\n"
37		+"会社名   :"+$scope.customer.name+" \n"
38		+"お客様名  :"+$scope.person.name +" \n"
39		+"TEL    :"+$scope.tel+"\n"
40		+"E-MAIL  :"+$scope.person.email +" \n"
41		+"Question  :"+$scope.question+" \n"
42		+"\n"
43		+"以上、ご確認ください。 \n"
44		+"\n"
45		+"間取り図たのも!サービス管理システム \n";
46		dbservice.sendEmail(email,subject,emailBody, function(data){
47			console.log(JSON.stringify(data));
48		}); // end sendMail
49	};/* end function */
50
51});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.