Subversion Repositories SmartDukaan

Rev

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

Rev 33578 Rev 33658
Line 2... Line 2...
2
    <h4 class="modal-title">Brand fee payment details</h4>
2
    <h4 class="modal-title">Brand fee payment details</h4>
3
    <table class="table table-bordered">
3
    <table class="table table-bordered">
4
        <thead>
4
        <thead>
5
        <th>Date</th>
5
        <th>Date</th>
6
        <th>Amount</th>
6
        <th>Amount</th>
7
        <th>Reference No</th>
7
        <th>UTR</th>
8
        <th>Mode</th>
8
        <th>Mode</th>
9
        <th>Status</th>
9
        <th>Status</th>
10
        <th>Description</th>
10
        <th>Description</th>
11
            #if($isNiraj)
-
 
12
            <th>Action</th>
11
        <th>Action</th>
13
            #end
-
 
14
 
-
 
15
        </thead>
12
        </thead>
16
        <tbody>
13
        <tbody>
17
            #foreach($bfc in $brandFeeCollections)
14
            #foreach($bfc in $brandFeeCollections)
-
 
15
                #if($bfc.getPaymentStatus()=="PENDING")
-
 
16
                <form name="updatePayment" method="post">
18
            <tr>
17
                    <tr>
19
                <td hidden="hidden" class="bfcId">$bfc.getId() </td>
18
                        <td hidden="hidden" class="bfcId">$bfc.getId() </td>
20
                <td>$bfc.getFeeCollectingTimeStamp().format($dateTimeFormatter)</td>
19
                        <td><input type="datetime-local" value="$bfc.getFeeCollectingTimeStamp()"
21
                <td class="currency">$bfc.getCollectedAmount()</td>
20
                                   name="feeCollectingTimeStamp"></td>
22
                <td>$bfc.getPaymentReferenceNo()</td>
21
                        <td class="currency"><input value="$bfc.getCollectedAmount()" name="collectedAmount"></td>
23
                <td>$bfc.getPaymentMode()</td>
22
                        <td><input value="$bfc.getPaymentReferenceNo()" name="paymentReferenceNo"></td>
24
                <td>$bfc.getPaymentStatus()</td>
23
                        <td><select name="paymentMode">
25
                #if($bfc.getDescription())
-
 
26
                    <td>$bfc.getDescription()</td>
24
                            <option value="$bfc.getPaymentMode()" selected>$bfc.getPaymentMode()</option>
27
                #else
-
 
28
                    <td>--</td>
25
                            <option value="UPI">UPI</option>
29
                #end
-
 
30
 
-
 
31
                <td>
-
 
32
                    #if($isNiraj)
-
 
33
                        #if(!$bfc.getPaymentStatus()=="CONFIRM" || $bfc.getPaymentStatus()=="PENDING")
-
 
34
                            <button class="btn-info paymentConfirmBtn" data-dismiss="modal"
26
                            <option value="NEFT">NEFT</option>
35
                                    value="$bfc.getId()"
27
                            <option value="RTGS">RTGS</option>
36
                                    data-approval="CONFIRM">Confirm
28
                            <option value="IMPS">IMPS</option>
37
 
29
 
38
                            </button>
30
                        </select></td>
39
                        #end
31
                        <td>$bfc.getPaymentStatus()</td>
40
                        #if(!$bfc.getPaymentStatus()=="REJECT" || $bfc.getPaymentStatus()=="PENDING")
32
                        #if($bfc.getDescription())
41
                            <button class="btn-info paymentRejectBtn" data-dismiss="modal"
-
 
42
                                    value="$bfc.getId()"
33
                            <td>$bfc.getDescription()</td>
43
                                    data-approval="REJECT">Reject
34
                        #else
44
                            </button>
35
                            <td>--</td>
45
                        #end
36
                        #end
-
 
37
 
-
 
38
                        <td>
-
 
39
                            #if($isNiraj)
-
 
40
                                #if(!$bfc.getPaymentStatus()=="CONFIRM" || $bfc.getPaymentStatus()=="PENDING")
-
 
41
                                    <button class="btn-info paymentConfirmBtn" data-dismiss="modal"
-
 
42
                                            value="$bfc.getId()"
-
 
43
                                            data-approval="CONFIRM">Confirm
-
 
44
                                    </button>
-
 
45
                                #end
-
 
46
                                #if(!$bfc.getPaymentStatus()=="REJECT" || $bfc.getPaymentStatus()=="PENDING")
-
 
47
                                    <button class="btn-info paymentRejectBtn" data-dismiss="modal"
-
 
48
                                            value="$bfc.getId()"
-
 
49
                                            data-approval="REJECT">Reject
-
 
50
                                    </button>
-
 
51
                                #end
-
 
52
                            #else
-
 
53
                                #if($bfc.getPaymentStatus()=="PENDING")
-
 
54
                                    <button type="button" class="btn-info brandFeePaymentEdit" data-dismiss="modal"
-
 
55
                                            value="$bfc.getId()">Save
-
 
56
                                    </button>
-
 
57
                                #end
-
 
58
                            #end
-
 
59
                        </td>
-
 
60
                    </tr>
-
 
61
                </form>
-
 
62
                #else
-
 
63
                <tr>
-
 
64
                    <td hidden="hidden" class="bfcId">$bfc.getId() </td>
-
 
65
                    <td>$bfc.getFeeCollectingTimeStamp()</td>
-
 
66
                    <td class="currency">$bfc.getCollectedAmount()</td>
-
 
67
                    <td>$bfc.getPaymentReferenceNo()</td>
-
 
68
                    <td>$bfc.getPaymentMode()</td>
-
 
69
                    <td>$bfc.getPaymentStatus()</td>
-
 
70
                    #if($bfc.getDescription())
-
 
71
                        <td>$bfc.getDescription()</td>
-
 
72
                    #else
-
 
73
                        <td>--</td>
46
                    #end
74
                    #end
-
 
75
                    <td>
-
 
76
                        #if($isNiraj)
-
 
77
                            #if(!$bfc.getPaymentStatus()=="CONFIRM" || $bfc.getPaymentStatus()=="PENDING")
-
 
78
                                <button class="btn-info paymentConfirmBtn" data-dismiss="modal"
-
 
79
                                        value="$bfc.getId()"
-
 
80
                                        data-approval="CONFIRM">Confirm
-
 
81
                                </button>
-
 
82
                            #end
-
 
83
                            #if(!$bfc.getPaymentStatus()=="REJECT" || $bfc.getPaymentStatus()=="PENDING")
-
 
84
                                <button class="btn-info paymentRejectBtn" data-dismiss="modal"
-
 
85
                                        value="$bfc.getId()"
-
 
86
                                        data-approval="REJECT">Reject
-
 
87
                                </button>
-
 
88
                            #end
-
 
89
                        #end
-
 
90
                    </td>
-
 
91
                </tr>
-
 
92
                #end
47
 
93
 
48
                </td>
-
 
49
            </tr>
-
 
50
            #end
94
            #end
51
        </tbody>
95
        </tbody>
52
    </table>
96
    </table>
53
</div>
97
</div>