Subversion Repositories SmartDukaan

Rev

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

Rev 33845 Rev 33848
Line 52... Line 52...
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>Id</th>
55
                    <th>Id</th>
56
                    <th>Company Name</th>
56
                    <th>Company Name</th>
-
 
57
                    <th>Filled By</th>
57
                    <th>Owner name</th>
58
                    <th>Owner name</th>
58
                    <th>Mobile</th>
59
                    <th>Mobile</th>
59
                    <th>Email</th>
60
                    <th>Email</th>
60
                    <th>Filled By</th>
-
 
61
                    <th>Billing City</th>
61
                    <th>Billing City</th>
62
                    <th>Total Commit</th>
62
                    <th>Total Commit</th>
63
                    <th>Brand Type</th>
63
                    <th>Brand Type</th>
64
                    <th>Brand Fee</th>
64
                    <th>Brand Fee</th>
65
                    <th>Total collection</th>
65
                    <th>Total collection</th>
Line 73... Line 73...
73
                    #foreach($data in $pendingFormList)
73
                    #foreach($data in $pendingFormList)
74
                    <tr>
74
                    <tr>
75
                        <input type="hidden" value="$data.getId()">
75
                        <input type="hidden" value="$data.getId()">
76
                        <td>$data.getId()</td>
76
                        <td>$data.getId()</td>
77
                        <td>$data.getCompanyName()</td>
77
                        <td>$data.getCompanyName()</td>
-
 
78
                        <td>$data.getLoiFormFilledBy()</td>
78
                        <td>$data.getOwnerName()</td>
79
                        <td>$data.getOwnerName()</td>
79
                        <td>$data.getMobile()</td>
80
                        <td>$data.getMobile()</td>
80
                        <td>$data.getEmail()</td>
81
                        <td>$data.getEmail()</td>
81
                        <td>$data.getLoiFormFilledBy()</td>
-
 
82
                        <td>$data.getCity()</td>
82
                        <td>$data.getCity()</td>
83
                        <td class="currency">$data.getTotalCommitment()</td>
83
                        <td class="currency">$data.getTotalCommitment()</td>
84
                        <td>$data.getBrandType()</td>
84
                        <td>$data.getBrandType()</td>
85
                        #if($isAgreedBrandFeeChanger)
85
                        #if($isAgreedBrandFeeChanger)
86
                            <td><input name="brandFee" value="$data.getBrandFee()">
86
                            <td><input name="brandFee" value="$data.getBrandFee()">
Line 96... Line 96...
96
                        #end
96
                        #end
97
                        <td class="currency" class="btn btn-primary" id="paymentDetail"
97
                        <td class="currency" class="btn btn-primary" id="paymentDetail"
98
                            onclick="getPaymentsDetails($data.getId())" data-toggle="modal"
98
                            onclick="getPaymentsDetails($data.getId())" data-toggle="modal"
99
                            data-target="#commonModalDiv"> $data.getTotalFeeCollection()
99
                            data-target="#commonModalDiv"> $data.getTotalFeeCollection()
100
                        </td>
100
                        </td>
101
                        #if($data.isLoiOtpPresent() && $data.getBrandFee()==$data.getTotalFeeCollection())
-
 
102
                            <td>APPROVAL PENDING</td>
-
 
103
                        #else
-
 
104
                            <td>$data.getStatus()</td>
101
                            <td>$data.getStatus()</td>
105
                        #end
-
 
106
 
-
 
107
                        #if($data.isDocVerified().equals(true))
102
                        #if($data.isDocVerified().equals(true))
108
                            <td style="background-color: #2ac845" class="mk_docVerified">Yes</td>
103
                            <td style="background-color: #2ac845" class="mk_docVerified">Yes</td>
109
                        #elseif($data.isDocVerified().equals(false))
104
                        #elseif($data.isDocVerified().equals(false))
110
                            <td style="background-color: red" class="mk_docVerified">No</td>
105
                            <td style="background-color: red" class="mk_docVerified">No</td>
111
                        #else
106
                        #else
Line 117... Line 112...
117
                            <td style="background-color: red" class="mk_feeCompleted">No</td>
112
                            <td style="background-color: red" class="mk_feeCompleted">No</td>
118
                        #end
113
                        #end
119
 
114
 
120
                        #if(!$data.isPaymentApprover())
115
                        #if(!$data.isPaymentApprover())
121
                            <td>
116
                            <td>
122
                                #if(!$data.isLoiOtpPresent() &&  $data.isDocVerified() && $data.getTotalFeeCollection()!=0.0 && !$data.isDocApprover())
117
                                #if(!$data.isLoiOtpPresent() &&  $data.isDocVerified() && $data.getTotalFeeCollection()!=0.0 && !$data.isDocApprover() && $data.isLoiApproved())
123
                                    <button type="button" class="btn-primary generateLoi" value="$data.getId()">Generate
118
                                    <button type="button" class="btn-primary generateLoi" value="$data.getId()">Generate
124
                                        LOI
119
                                        LOI
125
                                    </button>
120
                                    </button>
126
 
121
 
127
                                #else
-
 
128
                                    #if(!$data.isLoiOtpPresent() && !$data.isDocApprover())
-
 
129
                                        <button type="button" value="$data.getId()"
-
 
130
                                                onclick="alert('Once all documents and at least 1st payment verified then you able to generate LOI')">
-
 
131
                                            Generate LOI
-
 
132
                                        </button>
-
 
133
                                    #end
-
 
134
                                #end
122
                                #end
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())
123
                                #if(!($data.getLoiFillerEmail().equals($data.getLoginEmail())) && !$data.isDocApprover() && !$data.isLoiApproved())
141
                                    <button type="button" class="btn-danger mk-approve-loi" value="$data.getId()"
124
                                    <button type="button" class="btn-danger mk-approve-loi" value="$data.getId()"
142
                                            data-company="$data.getCompanyName()" data-flag="0">Reject Loi
125
                                            data-company="$data.getCompanyName()" data-flag="0">Reject Loi
143
                                    </button>
126
                                    </button>
144
                                    <button type="button" class="btn-success mk-approve-loi" value="$data.getId()"
127
                                    <button type="button" class="btn-success mk-approve-loi" value="$data.getId()"
145
                                            data-company="$data.getCompanyName()" data-flag="1">
128
                                            data-company="$data.getCompanyName()" data-flag="1">