| 
      
            Lines 294-300
          
      
      
        Link Here
      
     | 
  
        
          | 294 | 
           | 
          294 | 
           | 
        
        
          | 295 | 
              <!-- Cashup summary modal -->  | 
          295 | 
              <!-- Cashup summary modal -->  | 
        
        
          | 296 | 
              [% IF register.last_cashup %]  | 
          296 | 
              [% IF register.last_cashup %]  | 
        
          
            
              | 297 | 
                  <div class="modal" id="cashupSummaryModal" tabindex="-1" role="dialog" aria-labelledby="cashupSummaryLabel">  | 
              297 | 
                  <div class="modal printable" id="cashupSummaryModal" tabindex="-1" role="dialog" aria-labelledby="cashupSummaryLabel">  | 
            
        
          | 298 | 
                  <div class="modal-dialog" role="document">  | 
          298 | 
                  <div class="modal-dialog" role="document">  | 
        
        
          | 299 | 
                      <div class="modal-content">  | 
          299 | 
                      <div class="modal-content">  | 
        
        
          | 300 | 
                          <div class="modal-header">  | 
          300 | 
                          <div class="modal-header">  | 
        
  
    | 
      
            Lines 344-349
          
      
      
        Link Here
      
     | 
  
        
          | 344 | 
                          </div> <!-- /.modal-body -->  | 
          344 | 
                          </div> <!-- /.modal-body -->  | 
        
        
          | 345 | 
                          <div class="modal-footer">  | 
          345 | 
                          <div class="modal-footer">  | 
        
        
          | 346 | 
                              <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>  | 
          346 | 
                              <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>  | 
        
            
               | 
               | 
              347 | 
                                  <button type="button" class="printModal btn btn-primary"><i class="fa fa-print"></i> Print</button>  | 
            
        
          | 347 | 
                          </div> <!-- /.modal-footer -->  | 
          348 | 
                          </div> <!-- /.modal-footer -->  | 
        
        
          | 348 | 
                      </div> <!-- /.modal-content -->  | 
          349 | 
                      </div> <!-- /.modal-content -->  | 
        
        
          | 349 | 
                  </div> <!-- /.modal-dialog -->  | 
          350 | 
                  </div> <!-- /.modal-dialog -->  | 
        
  
    | 
      
            Lines 415-420
          
      
      
        Link Here
      
     | 
  
        
          | 415 | 
                      win.focus();  | 
          416 | 
                      win.focus();  | 
        
        
          | 416 | 
                  });  | 
          417 | 
                  });  | 
        
        
          | 417 | 
           | 
          418 | 
           | 
        
            
               | 
               | 
              419 | 
                      $('.modal.printable').on('shown.bs.modal', function() { | 
            
            
              | 420 | 
                          $('.modal-dialog', this).addClass('focused'); | 
            
            
              | 421 | 
                          $('body').addClass('modalprinter'); | 
            
            
              | 422 | 
               | 
            
            
              | 423 | 
                          if ($(this).hasClass('autoprint')) { | 
            
            
              | 424 | 
                              window.print();  | 
            
            
              | 425 | 
                          }  | 
            
            
              | 426 | 
                      }).on('hidden.bs.modal', function () { | 
            
            
              | 427 | 
                          $('.modal-dialog', this).removeClass('focused'); | 
            
            
              | 428 | 
                          $('body').removeClass('modalprinter'); | 
            
            
              | 429 | 
                      });  | 
            
            
              | 430 | 
               | 
            
            
              | 431 | 
                      $('.printModal').click(function() { | 
            
            
              | 432 | 
                          window.print();  | 
            
            
              | 433 | 
                      });  | 
            
            
              | 434 | 
               | 
            
        
          | 418 | 
                  $(document).ready(function() { | 
          435 | 
                  $(document).ready(function() { | 
        
        
          | 419 | 
                      // http://jqueryui.com/demos/datepicker/#date-range  | 
          436 | 
                      // http://jqueryui.com/demos/datepicker/#date-range  | 
        
        
          | 420 | 
                      var dates = $( "#from, #to" ).datepicker({ | 
          437 | 
                      var dates = $( "#from, #to" ).datepicker({ | 
        
            
              | 421 | 
              -   | 
               | 
               |