Subversion Repositories SmartDukaan

Rev

Rev 27723 | Rev 27738 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed


<section class="wrapper">
        <div class="row">
                <div class="col-lg-12">
                        <h3 class="page-header"><i class="icon_document_alt"></i>Inventory</h3>
                        <ol class="breadcrumb">
                                <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
                                <li><i class="icon_document_alt"></i>Inventory</li>                                                     
                        </ol>
                </div>
        </div>
        
        
        <table style="Width:100%; margin:15px">
                <tr>
                        <td  style="Width:40%; float:left">
                     <div class = "row">
                       <div class="col-lg-6">
                            <div class="input-group">
                                <select class="form-control input-sm" id = "warehouseMap" name="warehouseMap" placeholder="Warehouse">
                                                <option value="" disabled selected>Warehouse</option>
                                                #if($warehouseId.contains(0))
                                                <option value="0" selected>All</option>
                                                #else 
                                                        <option value="0">All</option>
                                                        #end
                                                  #foreach($wm in $warehouseMap.entrySet()))
                              #if($warehouseId.contains($wm.getKey()) && !$warehouseId.contains(0))
                                        <option value="$wm.getKey()" selected>$wm.getValue()</option>
                                  #else
                                        <option value="$wm.getKey()">$wm.getValue()</option>
                                  #end
                                  #end
                                </select>
                        <span class="input-group-btn">
                                <button class="btn btn-primary submit" id="warehouse-wise-billing" type="button">Go!</button>
                        </span>
                  </div>
                  </div>
                 </div>
                </td>
           
          
                </tr>
    </table>
        <div class="row">
        <div class="col-lg-6">
                                
                                 <div class="row col-lg-3">
                                                <h3 style="margin-top:-2px;margin-bottom:24px"><strong>Open PO</strong></h3>
                                 </div>
                                 <table class="table table-striped table-advance table-hover">
                                <tbody>
                                        <tr>
                                         <th>Brand</th>
                                         <th>today Qty</th>
                                         <th>today</th>
                                         <th>3 Days Qty</th>
                         <th>3 Days</th>
                         <th>7 Days Qty</th>
                                         <th>7 Days</th>
                                        </tr>
                                        #foreach($po in $openPO)
                                        <tr onclick="">
                                     <td>$po.getBrand()</td>
                                     <td class="currency">$po.getTodayQty()</td>
                                     <td class="currency">$po.getTodayValue()</td> 
                                     <td class="currency">$po.getThreedaysQty()</td> 
                                     <td class="currency">$po.getThreedaysValue()</td>
                                     <td class="currency">$po.getSevendaysQty()</td>
                                     <td class="currency">$po.getSevendaysValue()</td>
                                   </tr>
                                         #end
                                        
                            </tbody>
                        </table>
                        
                 <div class="row col-lg-3">
                                                <h3 style="margin-top:-2px;margin-bottom:24px"><strong>Our Purchase</strong></h3>
                                 </div>
                                 <table class="table table-striped table-advance table-hover">
                                <tbody>
                                        <tr>
                                         <th>Brand</th>
                                          <th>today Qty</th>
                                          <th>today</th>
                                          <th>3 Days Qty</th>
                          <th>3 Days</th>
                          <th>15 Days Qty</th>
                                          <th>last 15 Days</th>
                                          <th>MTD Qty</th>
                                          <th>MTD</th>
                                        
                                        </tr>
                                        #foreach($pur in $purchase)
                                        <tr onclick="">
                                     <td>$pur.getBrand()</td>
                                               <td class="currency">$pur.getTodayQty()</td>
                                               <td class="currency">$pur.getTodayValue()</td>
                                               <td class="currency">$pur.getThreedaysQty()</td>
                                              <td class="currency">$pur.getThreedaysValue()</td>
                                     <td class="currency">$pur.getFifteendaysQty()</td>
                                     <td class="currency">$pur.getFifteendaysValue()</td>
                                     <td class="currency">$pur.getMtdQty()</td>
                                     <td class="currency">$pur.getMtd()</td>
                                   </tr>
                                         #end
                                        
                            </tbody>
                        </table>
        </div>
        
        <div class="col-lg-6">
                         <div class="row col-lg-4">
                                                <h3 style="margin-top:-2px;margin-bottom:24px"><strong>Secondary Billing</strong></h3>
                                 </div>
                                 <table class="table table-striped table-advance table-hover">
                                <tbody>
                                        <tr>
                                         <th>Brand</th>
                                         <th>today Qty</th>
                                         <th>today</th>
                         <th>3 Days Qty</th>
                         <th>3 Days</th>
                         <th>MTD Qty</th>
                                         <th>MTD</th>
                                          <th>LMTD Qty</th>
                                          <th>LMTD</th>
                                        
                                        </tr>
                                        
                                  #foreach($bill in $billing)
                                        <tr onclick="">
                                      <td>$bill.getBrand()</td>
                                      <td class="currency">$bill.getTodayQty()</td>
                                      <td class="currency">$bill.getTodayValue()</td>
                                      <td class="currency">$bill.getThreedaysQty()</td>
                                      <td class="currency">$bill.getThreedaysValue()</td>
                                      <td class="currency">$bill.getMtdQty()</td>
                                      <td class="currency">$bill.getMtd()</td>
                                      <td class="currency">$bill.getLmtdQty()</td>
                                       <td class="currency">$bill.getLmtd()</td>
                                     </tr>
                                         #end
                                
                                        
                            </tbody>
                        </table>
                        
                                 <div class="row col-lg-3">
                                                <h3 style="margin-top:-2px;margin-bottom:24px"><strong>Partner Tertairy</strong></h3>
                                 </div>
                                 <table class="table table-striped table-advance table-hover">
                                <tbody>
                                        <tr>
                                         <th>Brand</th>
                                         <th>today Qty</th>
                                         <th>today</th>
                         <th>3 Days Qty</th>
                         <th>3 Days</th>
                         <th>MTD Qty</th>
                                         <th>MTD</th>
                                          <th>LMTD Qty</th>
                                          <th>LMTD</th>
                                        
                                        </tr>
                                        #foreach($ter in $tertiary)
                                        <tr onclick="">
                                     <td>$ter.getBrand()</td>
                                      <td class="currency">$ter.getTodayQty()</td>
                                     <td class="currency">$ter.getTodayValue()</td>
                                      <td class="currency">$ter.getThreedaysQty()</td>
                                    <td class="currency">$ter.getThreedaysValue()</td>
                                      <td class="currency">$ter.getMtdQty()</td>
                                    <td class="currency">$ter.getMtd()</td>
                                      <td class="currency">$ter.getLmtdQty()</td>
                                    <td class="currency">$ter.getLmtd()</td>
                                   </tr>
                                #end
                            </tbody>
                        </table>        
                
        </div>
        </div>

</section>