Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
37697 amit 1
<style>
2
    /* Availability shown against the quantity box when moving stock between our own warehouses. */
3
    .mv-qty-cell { position: relative; }
4
    .mv-qty-cell .qty { padding-right: 26px; }
5
    .mv-avail-icon {
6
        position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
7
        width: 16px; height: 16px; line-height: 16px; border-radius: 50%;
8
        background: #5a6a7a; color: #fff; font-size: 11px; font-style: italic; font-weight: bold;
9
        text-align: center; cursor: pointer; user-select: none;
10
    }
11
    .mv-avail-icon.mv-part { background: #d58512; }
12
    .mv-avail-icon.mv-none { background: #c9302c; }
13
    .mv-qty-warn { color: #c9302c; font-size: 11px; margin-top: 2px; }
14
    .qty.mv-over { border-color: #c9302c; }
37699 amit 15
    /* Divs, not a table: Bootstrap's popover sanitizer drops table markup and everything inside it. */
16
    .popover .mv-avail { font-size: 12px; }
17
    .popover .mv-avail .mv-row { display: flex; justify-content: space-between; padding: 2px 0; }
18
    .popover .mv-avail .mv-val { padding-left: 12px; font-weight: bold; white-space: nowrap; }
19
    .popover .mv-avail .mv-po { padding-left: 10px; color: #777; }
20
    .popover .mv-avail .mv-po .mv-val { color: #777; font-weight: normal; }
21
    .popover .mv-avail .mv-total { border-top: 1px solid #ddd; margin-top: 2px; padding-top: 4px; }
37697 amit 22
    .popover .mv-note { margin-top: 6px; font-size: 11px; color: #777; }
23
</style>
24
 
32360 amit.gupta 25
<div class="row">
32145 tejbeer 26
 
32360 amit.gupta 27
    <div>
28
        <p style="font-size: 25px;text-align: center; font-weight: bold; text-decoration-line: underline;">
29
            From $warehouse to $vendor.getName() </p>
30
    </div>
32145 tejbeer 31
 
32360 amit.gupta 32
</div>
32145 tejbeer 33
 
34
 
32360 amit.gupta 35
<div class="row">
32145 tejbeer 36
 
32360 amit.gupta 37
    <div class="col-lg-1 form-group">
38
        <input class="form-control btn btn-primary addRowInPurchaseOrder" type="button" value="Add Item">
39
    </div>
40
 
36532 amit 41
    <div class="col-lg-2 form-group">
42
        <label class="btn btn-primary form-control" style="cursor:pointer;">
43
            Bulk Upload <input type="file" id="poItemsFile" accept=".xlsx,.xls" style="display:none;">
44
        </label>
45
    </div>
46
 
47
    <div class="col-lg-2 form-group">
36551 amit 48
        <a href="${rc.contextPath}/downloadPOItemsTemplate" class="btn btn-default form-control">Download Template</a>
36532 amit 49
    </div>
50
 
32360 amit.gupta 51
</div>
52
 
53
 
54
<div class="row">
55
    <div class="col-lg-12">
56
        <table class="table table-border table-condensed table-bordered" id="purchase-order-table" style="width:100%">
57
            <thead>
58
            <tr>
59
 
60
                <th>Product Name</th>
61
                <th>Qty</th>
62
                <th>Transfer Price</th>
63
                <th>Total Value</th>
64
 
65
            </tr>
66
            </thead>
67
            <tbody>
68
            </tbody>
69
        </table>
70
 
71
    </div>
72
</div>
73
 
74
<div class="row">
33727 ranu 75
    <div class="col-md-12 form-group">
36520 amit 76
        <p><b><span>Total Quantity</span></b> -: <b><span id="totalQuantity"></span></b> &nbsp;&nbsp;&nbsp; <b><span>Grand Total</span></b> -: <b><span id="grandTotal"></span></b></p>
33727 ranu 77
    </div>
32360 amit.gupta 78
    <div class="col-lg-2 form-group">
79
        <input class="form-control btn btn-primary createPurchaseOrder" type="button"
80
               value="Create and Save Purchase Order">
81
    </div>
82
 
83
    <div class="col-lg-2 form-group">
84
        <input class="form-control btn btn-primary createSendPurchaseOrder" type="button"
85
               value="Create and Send Purchase Order">
86
    </div>
87
 
88
</div>
89
 
90
<script type="text/javascript">
91
    $('.addRowInPurchaseOrder').ready(function () {
92
        $('.addRowInPurchaseOrder').click();
93
    });
94
</script>