Subversion Repositories SmartDukaan

Rev

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

Rev 33507 Rev 33525
Line 1... Line 1...
1
<section class="wrapper">
1
<section class="wrapper">
2
    <style>
2
    <style>
3
        #paymentDetail:hover {
3
        #paymentDetail:hover {
4
            background-color: #9acfea;
4
            background-color: lightgreen;
-
 
5
        }
-
 
6
 
-
 
7
        #paymentDetail {
-
 
8
            background-color: gainsboro;
5
        }
9
        }
6
    </style>
10
    </style>
7
    <h1>All Pending LOI Form </h1>
11
    <h1>All Pending LOI Form </h1>
8
    <div class="dataTables_scrollBody">
12
    <div class="dataTables_scrollBody">
9
        <table class="table table-bordered " style="width: 100%">
13
        <table class="table table-bordered " style="width: 100%">
Line 31... Line 35...
31
                    <td>$data.getCompanyName()</td>
35
                    <td>$data.getCompanyName()</td>
32
                    <td>$data.getCity()</td>
36
                    <td>$data.getCity()</td>
33
                    <td class="currency">$data.getTotalCommitment()</td>
37
                    <td class="currency">$data.getTotalCommitment()</td>
34
                    <td>$data.getBrandType()</td>
38
                    <td>$data.getBrandType()</td>
35
                    <td class="currency">$data.getBrandFee()</td>
39
                    <td class="currency">$data.getBrandFee()</td>
36
                    <div>
-
 
37
                        <td id="paymentDetail" class="currency"
40
                    <td class="currency" class="btn btn-primary" id="paymentDetail"
38
                            onclick="getPaymentsDetails($data.getId())" data-toggle="modal"
41
                        onclick="getPaymentsDetails($data.getId())" data-toggle="modal"
39
                            data-target="#commonModalDiv"> $data.getTotalFeeCollection()</td>
42
                        data-target="#commonModalDiv"> $data.getTotalFeeCollection()
40
                    </div>
43
                    </td>
41
                    <td>$data.getStatus()</td>
44
                    <td>$data.getStatus()</td>
-
 
45
                    #if(!$data.isPaymentApprover())
42
                    <td>
46
                        <td>
43
                        #if(!$data.isLoiOtpPresent() &&  $data.isDocVerified() && $data.getTotalFeeCollection()!=0.0)
47
                            #if(!$data.isLoiOtpPresent() &&  $data.isDocVerified() && $data.getTotalFeeCollection()!=0.0 && !$data.isDocApprover())
44
                            <button type="button" class="btn-primary generateLoi" value="$data.getId()">Generate LOI
48
                                <button type="button" class="btn-primary generateLoi" value="$data.getId()">Generate LOI
45
                            </button>
-
 
46
                        #else
-
 
47
                            #if(!$data.isLoiOtpPresent())
-
 
48
                                <button type="button" value="$data.getId()"
-
 
49
                                        onclick="alert('Once all documents and at least 1st payment verified then you able to generate LOI')">
-
 
50
                                    Generate LOI
-
 
51
                                </button>
49
                                </button>
-
 
50
                            #else
-
 
51
                                #if(!$data.isLoiOtpPresent() && !$data.isDocApprover())
-
 
52
                                    <button type="button" value="$data.getId()"
-
 
53
                                            onclick="alert('Once all documents and at least 1st payment verified then you able to generate LOI')">
-
 
54
                                        Generate LOI
-
 
55
                                    </button>
-
 
56
                                #end
52
                            #end
57
                            #end
53
                        #end
-
 
54
 
58
 
55
                        #if($data.getBrandFee()>$data.getTotalFeeCollection())
59
                            #if($data.getBrandFee()>$data.getTotalFeeCollection() && !$data.isDocApprover())
56
                            <button type="button" class="btn-primary payModelBtn" value="$data.getId()"
60
                                <button type="button" class="btn-primary payModelBtn" value="$data.getId()"
57
                                    data-toggle="modal" data-target="#brandFeeCollectionModel">Add payment
61
                                        data-toggle="modal" data-target="#brandFeeCollectionModel">Add payment
58
                            </button>
62
                                </button>
59
                        #end
63
                            #end
60
                        #if(($data.getLoiDoc()==0 && $data.isSalesTeam() && !$data.isLoiOtpPresent()))
64
                            #if($data.getLoiDoc()==0 && $data.isSalesTeam() && !$data.isLoiOtpPresent() && !$data.isDocApprover())
61
                            <button type="button" class="btn-primary updateOnboardingForm" value="$data.getId()"
65
                                <button type="button" class="btn-primary updateOnboardingForm" value="$data.getId()"
62
                                    style="width: 100px">Update
66
                                        style="width: 100px">Update
63
                            </button>
67
                                </button>
64
                        #end
68
                            #end
65
                        #if((!$data.isDocVerified() && $data.isSalesTeam()))
69
                            #if(!$data.isDocVerified() && $data.isSalesTeam()&& !$data.isDocApprover())
66
                            <button class="upload-document-form btn-primary" value="$data.getId()">Upload Document
70
                                <button class="upload-document-form btn-primary" value="$data.getId()">Upload Document
-
 
71
                                </button>
-
 
72
                            #else
-
 
73
                                <button class="upload-document-form btn-primary" value="$data.getId()">Approve Document
-
 
74
                                </button>
-
 
75
                            #end
-
 
76
                        </td>
-
 
77
                    #else
-
 
78
                        <td>
-
 
79
                            <button id="paymentDetail"
-
 
80
                                    onclick="getPaymentsDetails($data.getId())" data-toggle="modal"
-
 
81
                                    data-target="#commonModalDiv">Approve Payments
67
                            </button>
82
                            </button>
68
                        #end
83
                        </td>
69
                        ##                            <button class="deleteLoiForm btn-primary" value="$data.getId()">Delete</button>
-
 
70
 
-
 
71
 
-
 
72
                    </td>
84
                    #end
73
                </tr>
85
                </tr>
74
                #end
86
                #end
75
            </tbody>
87
            </tbody>
76
        </table>
88
        </table>
77
    </div>
89
    </div>