Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
33507 tejus.loha 1
<div class="modal-body">
33578 tejus.loha 2
    <h4 class="modal-title">Brand fee payment details</h4>
33507 tejus.loha 3
    <table class="table table-bordered">
4
        <thead>
5
        <th>Date</th>
6
        <th>Amount</th>
33658 tejus.loha 7
        <th>UTR</th>
33507 tejus.loha 8
        <th>Mode</th>
9
        <th>Status</th>
33525 tejus.loha 10
        <th>Description</th>
33658 tejus.loha 11
        <th>Action</th>
33507 tejus.loha 12
        </thead>
13
        <tbody>
14
            #foreach($bfc in $brandFeeCollections)
33658 tejus.loha 15
                #if($bfc.getPaymentStatus()=="PENDING")
16
                <form name="updatePayment" method="post">
17
                    <tr>
18
                        <td hidden="hidden" class="bfcId">$bfc.getId() </td>
19
                        <td><input type="datetime-local" value="$bfc.getFeeCollectingTimeStamp()"
20
                                   name="feeCollectingTimeStamp"></td>
21
                        <td class="currency"><input value="$bfc.getCollectedAmount()" name="collectedAmount"></td>
22
                        <td><input value="$bfc.getPaymentReferenceNo()" name="paymentReferenceNo"></td>
23
                        <td><select name="paymentMode">
24
                            <option value="$bfc.getPaymentMode()" selected>$bfc.getPaymentMode()</option>
25
                            <option value="UPI">UPI</option>
26
                            <option value="NEFT">NEFT</option>
27
                            <option value="RTGS">RTGS</option>
28
                            <option value="IMPS">IMPS</option>
33525 tejus.loha 29
 
33658 tejus.loha 30
                        </select></td>
31
                        <td>$bfc.getPaymentStatus()</td>
32
                        #if($bfc.getDescription())
33
                            <td>$bfc.getDescription()</td>
34
                        #else
35
                            <td>--</td>
36
                        #end
33525 tejus.loha 37
 
33658 tejus.loha 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>
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
33507 tejus.loha 89
                        #end
33658 tejus.loha 90
                    </td>
91
                </tr>
92
                #end
33507 tejus.loha 93
 
94
            #end
95
        </tbody>
96
    </table>
97
</div>