Subversion Repositories SmartDukaan

Rev

Rev 7284 | Rev 7728 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7284 Rev 7524
Line 10... Line 10...
10
		<form action="$action.getServletContextPath()/reports" method="get">
10
		<form action="$action.getServletContextPath()/reports" method="get">
11
			#foreach($report in $action.getReports())
11
			#foreach($report in $action.getReports())
12
				<a href="$action.getServletContextPath()/$report.getController()">
12
				<a href="$action.getServletContextPath()/$report.getController()">
13
					<!--#$action.getDescription($report) -->
13
					<!--#$action.getDescription($report) -->
14
					$report.getDescription()
14
					$report.getDescription()
-
 
15
					#if ($report.getDescription() == "Amazon Listing")
-
 
16
						#set($showUploadSheet = "True")
-
 
17
					#else
-
 
18
						#set($showUploadSheet = "False")
-
 
19
					#end
15
				</a>
20
				</a>
16
				<br/>
21
				<br/>
17
			#end
22
			#end
18
			
-
 
19
			##parse("../content/reports-common.vm")
23
			##parse("../content/reports-common.vm")
20
		</form>
24
		</form>
21
		<hr/>
25
		<hr/>
-
 
26
		#if ($showUploadSheet == "True")
-
 
27
			<p style="font-size: 14px;">Upload excel:</p>
-
 
28
			<form id="uploadFile" name="fileUpload" action="$action.getServletContextPath()/amazon-list!upload" enctype="multipart/form-data" method="post">
-
 
29
				<label for="filePath" style="font-size: 14px;">Path : </label>
-
 
30
				<input type="file" name="file" id="file">
-
 
31
				<input type="submit" value="Upload" name="upload">
-
 
32
            </form>
-
 
33
			<hr/>
-
 
34
        #end
22
    </div>
35
    </div>
23
	<div id="messageError">
36
	<div id="messageError">
24
         $errorMsg
37
         $errorMsg
25
    </div>
38
    </div>
26
</body>
39
</body>