Subversion Repositories SmartDukaan

Rev

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

Rev 33959 Rev 34156
Line 1... Line 1...
1
<div class="row">
1
<div class="row">
2
	<div class="col-lg-12">
-
 
3
		<table class="table table-striped table-advance table-hover">
-
 
4
			<tbody>
-
 
5
			<tr>
-
 
6
				<th>Retailer Id</th>
-
 
7
				<th>Retailer Name</th>
-
 
8
				<th>Email</th>
-
 
9
				<th>City</th>
-
 
10
				<th>State</th>
-
 
11
				<th>Transaction Reference</th>
-
 
12
				<th>Bank Name</th>
-
 
13
				<th>Reference Date</th>
-
 
14
				<th>Amount</th>
-
 
15
				<th>Created On</th>
-
 
16
				<th>Updated On </th>
-
 
17
				#if($rStatus == "pending")
-
 
18
				<th>Status</th>
-
 
19
				#end
-
 
20
			
-
 
21
			</tr>
-
 
22
					#if(!$walletRequest.isEmpty())
-
 
23
						#foreach( $walletData in $walletRequest )
-
 
24
						<tr class="add-wallet" data="$walletData.getId()">
-
 
25
							<td>$walletData.getRetailerId()</td>
-
 
26
							<td>$fofoIdsAndRetailerName.get($walletData.getRetailerId()).getBusinessName()</td>
-
 
27
							<td>$fofoIdsAndRetailerName.get($walletData.getRetailerId()).getEmail()</td>
-
 
28
							<td>$fofoIdsAndRetailerName.get($walletData.getRetailerId()).getAddress().city</td>
-
 
29
							<td>$fofoIdsAndRetailerName.get($walletData.getRetailerId()).getAddress().state</td>
-
 
30
							<td>$walletData.getTransaction_reference()</td>
-
 
31
							#if($walletData.getBank_name())
-
 
32
								<td>$walletData.getBank_name()</td>
-
 
33
			    					#else
-
 
34
			    					<td> null</td>
-
 
35
			    			#end
-
 
36
							<td>$walletData.getReference_date()</td>
-
 
37
							<td class="currency">$walletData.getAmount()</td>
-
 
38
							<td>$walletData.getCreateTimestamp().format($dateTimeFormatter)</td>
-
 
39
							<td>$walletData.getUpdateTimestamp().format($dateTimeFormatter)</td>
-
 
40
							#if($walletData.getStatus()=="pending")
-
 
41
								<td>
-
 
42
									<button class="btn btn-primary approve" data-requestid="$walletData.getId()"
-
 
43
											type="button" style="width:100%;border-radius:0px;">Approve
-
 
44
									</button>
-
 
45
						     </td>
-
 
46
								<td>
-
 
47
									<button class="btn btn-primary rejected" data-requestid="$walletData.getId()"
-
 
48
											type="button" style="width:100%;border-radius:0px;">Reject
-
 
49
									</button>
-
 
50
						    </td>
-
 
51
						     
-
 
52
	    					#end	
-
 
53
	    				</tr>
-
 
54
    			 #end
-
 
55
    			#else
-
 
56
    				<tr>
-
 
57
    					<td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
-
 
58
    				</tr>
-
 
59
    			#end
-
 
60
			</tbody>
-
 
61
		</table>
-
 
62
	</div>
-
 
63
</div>
-
 
64
2
    <div class="col-lg-12">
-
 
3
        <table class="table table-striped table-advance table-hover table-bordered" id="wallet_addn_approved_reject">
-
 
4
            <thead>
-
 
5
                <th>Retailer Id</th>
-
 
6
                <th>Retailer Name</th>
-
 
7
                <th>Email</th>
-
 
8
                <th>City</th>
-
 
9
                <th>State</th>
-
 
10
                <th>Transaction Reference</th>
-
 
11
                <th>Bank Name</th>
-
 
12
                <th>Reference Date</th>
-
 
13
                <th>Amount</th>
-
 
14
                <th>Created On</th>
-
 
15
                <th>Updated On</th>
-
 
16
                #if($rStatus == "pending")
-
 
17
                    <th>Status</th>
-
 
18
                #end
-
 
19
 
-
 
20
            </thead>
-
 
21
            <tbody>
-
 
22
                #if(!$walletRequest.isEmpty())
-
 
23
                    #foreach( $walletData in $walletRequest )
-
 
24
                    <tr class="add-wallet" data="$walletData.getId()">
-
 
25
                        <td>$walletData.getRetailerId()</td>
-
 
26
                        <td>$fofoIdsAndRetailerName.get($walletData.getRetailerId()).getBusinessName()</td>
-
 
27
                        <td>$fofoIdsAndRetailerName.get($walletData.getRetailerId()).getEmail()</td>
-
 
28
                        <td>$fofoIdsAndRetailerName.get($walletData.getRetailerId()).getAddress().city</td>
-
 
29
                        <td>$fofoIdsAndRetailerName.get($walletData.getRetailerId()).getAddress().state</td>
-
 
30
                        <td>$walletData.getTransaction_reference()</td>
-
 
31
                        #if($walletData.getBank_name())
-
 
32
                            <td>$walletData.getBank_name()</td>
-
 
33
                        #else
-
 
34
                            <td> -</td>
-
 
35
                        #end
-
 
36
                        <td>$walletData.getReference_date()</td>
-
 
37
                        <td class="currency">$walletData.getAmount()</td>
-
 
38
                        <td>$walletData.getCreateTimestamp().format($dateTimeFormatter)</td>
-
 
39
                        <td>$walletData.getUpdateTimestamp().format($dateTimeFormatter)</td>
-
 
40
                        #if($walletData.getStatus()=="pending")
-
 
41
                            <td>
-
 
42
                                <button class="btn btn-primary approve" data-requestid="$walletData.getId()"
-
 
43
                                        type="button" style="width:100%;border-radius:0px;">Approve
-
 
44
                                </button>
-
 
45
 
-
 
46
                                <button class="btn btn-primary rejected" data-requestid="$walletData.getId()"
-
 
47
                                        type="button" style="width:100%;border-radius:0px;">Reject
-
 
48
                                </button>
-
 
49
 
-
 
50
                            </td>
-
 
51
                        #end
-
 
52
                    </tr>
-
 
53
                    #end
-
 
54
                #else
-
 
55
                <tr>
-
 
56
                    <td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
-
 
57
                </tr>
-
 
58
                #end
-
 
59
            </tbody>
-
 
60
            <tfoot>
-
 
61
            <th>Retailer Id</th>
-
 
62
            <th>Retailer Name</th>
-
 
63
            <th>Email</th>
-
 
64
            <th>City</th>
-
 
65
            <th>State</th>
-
 
66
            <th>Transaction Reference</th>
-
 
67
            <th>Bank Name</th>
-
 
68
            <th>Reference Date</th>
-
 
69
            <th>Amount</th>
-
 
70
            <th>Created On</th>
-
 
71
            <th>Updated On</th>
-
 
72
                #if($rStatus == "pending")
-
 
73
                <th>Status</th>
-
 
74
                #end
-
 
75
 
-
 
76
            </tfoot>
-
 
77
        </table>
-
 
78
    </div>
-
 
79
</div>
-
 
80
<script>
-
 
81
    $(document).ready(function () {
-
 
82
        var dtable = $('#wallet_addn_approved_reject').DataTable({
-
 
83
            "scrollX": true,
-
 
84
            "scrollY": "500px",
-
 
85
            scrollCollapse: true,
-
 
86
        });
-
 
87
    });
-
 
88
</script>
-
 
89
65
90