Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
37954 amit 1
<section class="wrapper">
2
    <div class="row">
3
        <div class="col-lg-12">
4
            <h3 class="page-header"><i class="icon_document_alt"></i>Invalid GSTINs</h3>
5
            <ol class="breadcrumb">
6
                <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
7
                <li><i class="icon_document_alt"></i>Invalid GSTINs</li>
8
            </ol>
9
        </div>
10
    </div>
11
    <div class="row">
12
        <div class="col-lg-12">
13
            <p class="text-muted">
14
                NIC refused an invoice for these partners because their GSTIN is cancelled, inactive or invalid.
15
                Billing to them is blocked. After the partner's GST number is corrected (or the registration is
16
                restored), use <b>Revalidate &amp; enable</b>: billing is enabled only if the GST portal shows the
17
                GSTIN as Active.
18
            </p>
19
            #if($rows.isEmpty())
20
                <div class="alert alert-success">No partner has an invalid GSTIN.</div>
21
            #else
22
                <table class="table table-bordered table-striped" id="invalid-gstin-table">
23
                    <thead>
24
                    <tr>
25
                        <th>Code</th>
26
                        <th>Partner</th>
27
                        <th>GSTIN</th>
28
                        <th>Store status</th>
29
                        <th>Invalid since</th>
30
                        <th>NIC reason</th>
31
                        #if($canRevalidate)
32
                            <th></th>
33
                        #end
34
                    </tr>
35
                    </thead>
36
                    <tbody>
37
                        #foreach($row in $rows)
38
                        <tr>
39
                            <td>$row.code</td>
40
                            <td>$row.name</td>
41
                            <td>$row.gstin</td>
42
                            <td>$row.storeStatus</td>
43
                            <td>$row.since</td>
44
                            <td>$row.reason</td>
45
                            #if($canRevalidate)
46
                                <td>
47
                                    <button type="button" class="btn btn-primary btn-sm revalidate-gstin"
48
                                            data-fofoid="$row.fofoId">Revalidate &amp; enable</button>
49
                                    <div class="revalidate-gstin-result" style="margin-top: 4px"></div>
50
                                </td>
51
                            #end
52
                        </tr>
53
                        #end
54
                    </tbody>
55
                </table>
56
            #end
57
        </div>
58
    </div>
59
</section>