Subversion Repositories SmartDukaan

Rev

Rev 28722 | Rev 30601 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
24089 tejbeer 1
 <style>
2
	.table-striped > tbody > tr:nth-child(odd) > td{
3
  		background: white;
4
  		background-color: white;
5
	}
6
	.table-striped > tbody > tr:nth-child(even) > td{
7
  		background: white;
8
  		background-color:white;
9
	}
10
	.table-striped > tbody > tr:hover > td,
11
	.table-striped > tbody > tr:hover {
12
		background-color: #e98c8f;
13
	  	color:white;
14
	}
15
	.btn:hover{
16
  		color: grey;
17
  		text-decoration: none;
18
	}
19
	.btn-primary:hover{
20
  		color: grey;
21
  		text-decoration: none;
22
	}
23
	.sale-details{
24
		cursor:pointer;
25
	}
26
</style>
27
 <script>
28
  $(function() {
29
	$('input[name="dateTime"]').daterangepicker(getSingleDatePicker(),dateRangeCallback);
30
	});
31
 
32
 </script>
33
 
34
 
35
<section class="wrapper">
36
	<div class="row">
37
		<div class="col-lg-12">
30260 tejbeer 38
			<h3 class="page-header"><i class="icon_document_alt"></i>WALLET</h3>
24089 tejbeer 39
			<ol class="breadcrumb">
40
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
41
				<li><i class="icon_document_alt"></i>UNSETTLED PAYMENTS</li>						  	
42
			</ol>
43
		</div>
44
	</div>
45
	<form id="create-warehouse-form">
46
		<div style="background:white;background-color:white;padding:10px;">
47
			<div>
48
				<div class = "row">
49
 
50
 
51
					<div class="col-lg-2 form-group">
52
					   	<input placeholder="Transaction Reference" id="transactionReference" name="transactionReference" type="text" value="" class="form-control input-sm">
53
					</div>
54
 
55
					<div class="col-lg-2 form-group">
56
					   	<input placeholder="Amount" id="amount" name="amount" type="number" value="" class="form-control input-sm">
57
					</div>
58
 
59
					<div class="col-lg-2 form-group">
60
			 			<input placeholder="Description" id="description" name="description" type="text" size="50" value="" class="form-control input-sm">
61
					</div>
62
 
63
					</div>
64
 
65
		           <div class = "row">
66
					<div class="col-lg-2 form-group">
67
					  <label for="referencedate">Reference Date :</label> 
68
					   	<input placeholder="Reference Date" id="referencedate" name="dateTime" type="text" value="" class="form-control input-sm">
69
					</div>
70
 
71
 
72
					<div class="col-lg-2">
73
					<label for="referencedate"></label> 
24220 amit.gupta 74
					 <input class="btn btn-primary create-unsettled-payments" type="button" value="Create Request">	
24089 tejbeer 75
					</div>	
76
 
77
				</div>
78
 
79
 
80
				</div>
81
			</div>
82
 
83
	</form>
84
 
85
	<div id="unsettled-payment-table">
86
		<div class="row">
87
	    	<div class="col-lg-12">
88
	    		<table class="table table-striped table-advance table-hover">
89
	    			<tbody>
90
	    				<tr>
91
	    					<th>Id</th>
92
	    					<th>Transaction Reference</th>
93
	    					<th>Amount</th>
94
	    					<th>Reference Date</th>
95
	    					<th>Description</th>
96
	    					<th>CreatedTimestamp</th>
97
	    					<th>Status</th>
98
	    				</tr>
99
	    					#if(!$unsettledPayment.isEmpty())
100
			    			#foreach( $request in $unsettledPayment )
101
			    				<tr class="unsettledPayment" data="$request.getId()">
102
			    					<td>$request.getId()</td>
103
			    					<td>$request.getTransaction_reference()</td>
104
			    					<td>$request.getAmount()</td>
105
			    					<td>$request.getReference_date().format($dateTimeFormatter)</td>
106
			    					<td>$request.getDescription()</td>	
107
			    					<td>$request.getCreateTimestamp().format($dateTimeFormatter)</td>
28722 amit.gupta 108
			    					 <td><button class="btn btn-primary remove-unsettledPayment" data-requestid="$request.getId()"  type="button" style="width:100%;border-radius:0px;">Remove</button>
24089 tejbeer 109
								     </td>
110
			    				</tr>	
111
			    	   #end
112
		    			#else
113
		    				<tr>
114
		    					<td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
115
		    				</tr>
116
		    			#end
117
	    			</tbody>
118
	    		</table>
119
	    	</div>
120
	    </div>
121
    </div>
122
</section>