Subversion Repositories SmartDukaan

Rev

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

Rev 33712 Rev 33845
Line 50... Line 50...
50
    <div>
50
    <div>
51
        <div class="col-lg-12">
51
        <div class="col-lg-12">
52
            <table class="table table-border table-condensed table-bordered" id="allPendingLoiForm" style="width:100%">
52
            <table class="table table-border table-condensed table-bordered" id="allPendingLoiForm" style="width:100%">
53
                <thead class="row htable">
53
                <thead class="row htable">
54
                <tr>
54
                <tr>
55
                    <th>Filled By</th>
55
                    <th>Id</th>
56
                    <th>Owner name</th>
-
 
57
                    <th>Company Name</th>
56
                    <th>Company Name</th>
-
 
57
                    <th>Owner name</th>
-
 
58
                    <th>Mobile</th>
-
 
59
                    <th>Email</th>
-
 
60
                    <th>Filled By</th>
58
                    <th>Billing City</th>
61
                    <th>Billing City</th>
59
                    <th>Total Commit</th>
62
                    <th>Total Commit</th>
60
                    <th>Brand Type</th>
63
                    <th>Brand Type</th>
61
                    <th>Brand Fee</th>
64
                    <th>Brand Fee</th>
62
                    <th>Total collection</th>
65
                    <th>Total collection</th>
-
 
66
                    <th>Status</th>
63
                    <th>Document Verified</th>
67
                    <th>Document Verified</th>
64
                    <th>Brand Fee Completed</th>
68
                    <th>Brand Fee Completed</th>
65
                    <th>Action</th>
69
                    <th>Action</th>
66
 
-
 
67
                </tr>
70
                </tr>
68
                </thead>
71
                </thead>
69
                <tbody>
72
                <tbody>
70
                    #foreach($data in $pendingFormList)
73
                    #foreach($data in $pendingFormList)
71
                    <tr>
74
                    <tr>
72
                        <input type="hidden" value="$data.getId()">
75
                        <input type="hidden" value="$data.getId()">
73
                        <td>$data.getLoiFormFilledBy()</td>
-
 
74
                        <td>$data.getOwnerName()</td>
76
                        <td>$data.getId()</td>
75
                        <td>$data.getCompanyName()</td>
77
                        <td>$data.getCompanyName()</td>
-
 
78
                        <td>$data.getOwnerName()</td>
-
 
79
                        <td>$data.getMobile()</td>
-
 
80
                        <td>$data.getEmail()</td>
-
 
81
                        <td>$data.getLoiFormFilledBy()</td>
76
                        <td>$data.getCity()</td>
82
                        <td>$data.getCity()</td>
77
                        <td class="currency">$data.getTotalCommitment()</td>
83
                        <td class="currency">$data.getTotalCommitment()</td>
78
                        <td>$data.getBrandType()</td>
84
                        <td>$data.getBrandType()</td>
79
                        #if($isAgreedBrandFeeChanger)
85
                        #if($isAgreedBrandFeeChanger)
80
                            <td><input name="brandFee" value="$data.getBrandFee()">
86
                            <td><input name="brandFee" value="$data.getBrandFee()">
Line 90... Line 96...
90
                        #end
96
                        #end
91
                        <td class="currency" class="btn btn-primary" id="paymentDetail"
97
                        <td class="currency" class="btn btn-primary" id="paymentDetail"
92
                            onclick="getPaymentsDetails($data.getId())" data-toggle="modal"
98
                            onclick="getPaymentsDetails($data.getId())" data-toggle="modal"
93
                            data-target="#commonModalDiv"> $data.getTotalFeeCollection()
99
                            data-target="#commonModalDiv"> $data.getTotalFeeCollection()
94
                        </td>
100
                        </td>
-
 
101
                        #if($data.isLoiOtpPresent() && $data.getBrandFee()==$data.getTotalFeeCollection())
-
 
102
                            <td>APPROVAL PENDING</td>
-
 
103
                        #else
-
 
104
                            <td>$data.getStatus()</td>
-
 
105
                        #end
-
 
106
 
95
                        #if($data.isDocVerified().equals(true))
107
                        #if($data.isDocVerified().equals(true))
96
                            <td style="background-color: #2ac845" class="mk_docVerified">Yes</td>
108
                            <td style="background-color: #2ac845" class="mk_docVerified">Yes</td>
97
                        #elseif($data.isDocVerified().equals(false))
109
                        #elseif($data.isDocVerified().equals(false))
98
                            <td style="background-color: red" class="mk_docVerified">No</td>
110
                            <td style="background-color: red" class="mk_docVerified">No</td>
99
                        #else
111
                        #else
Line 118... Line 130...
118
                                                onclick="alert('Once all documents and at least 1st payment verified then you able to generate LOI')">
130
                                                onclick="alert('Once all documents and at least 1st payment verified then you able to generate LOI')">
119
                                            Generate LOI
131
                                            Generate LOI
120
                                        </button>
132
                                        </button>
121
                                    #end
133
                                    #end
122
                                #end
134
                                #end
123
                                #if($isAuthUser && !$data.isLoiOtpPresent())
135
                                ##                                #if($isAuthUser && !$data.isLoiOtpPresent())
-
 
136
                                ##                                    <button type="button" class="btn-danger cancel_loi" value="$data.getId()"
-
 
137
                                ##                                            data-company="$data.getCompanyName()">Cancel
-
 
138
                                ##                                    </button>
-
 
139
                                ##                                #end
-
 
140
                                #if(!($data.getLoiFillerEmail().equals($data.getLoginEmail())) && $data.isLoiOtpPresent() && $data.getBrandFee()==$data.getTotalFeeCollection())
124
                                    <button type="button" class="btn-danger cancel_loi" value="$data.getId()"
141
                                    <button type="button" class="btn-danger mk-approve-loi" value="$data.getId()"
-
 
142
                                            data-company="$data.getCompanyName()" data-flag="0">Reject Loi
-
 
143
                                    </button>
-
 
144
                                    <button type="button" class="btn-success mk-approve-loi" value="$data.getId()"
125
                                            data-company="$data.getCompanyName()">Cancel
145
                                            data-company="$data.getCompanyName()" data-flag="1">
-
 
146
                                        Approve Loi
126
                                    </button>
147
                                    </button>
127
                                #end
148
                                #end
128
 
149
 
129
                                #if($data.getBrandFee()>$data.getTotalFeeCollection() && !$data.isDocApprover())
150
                                #if($data.getBrandFee()>$data.getTotalFeeCollection() && !$data.isDocApprover())
130
                                    <button type="button" class="btn-primary payModelBtn" value="$data.getId()"
151
                                    <button type="button" class="btn-primary payModelBtn" value="$data.getId()"
Line 278... Line 299...
278
            "scrollX": true,
299
            "scrollX": true,
279
            "scrollY": "500px",
300
            "scrollY": "500px",
280
            scrollCollapse: true,
301
            scrollCollapse: true,
281
            "fixedHeader": true,
302
            "fixedHeader": true,
282
            fixedColumns: {
303
            fixedColumns: {
283
                leftColumns: 1
304
                leftColumns: 2
284
            }
305
            }
285
 
306
 
286
        });
307
        });
287
    });
308
    });
288
 
309