
<div class="modal fade" id="md_profitloss_report" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  <?php echo e(Form::open(array('route' => 'report.profitloss', 'class' => 'cls_form'))); ?>

  <div class="modal-dialog modal-md" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="exampleModalLabel">Profit Loss Report</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true"></span>
        </button>
      </div>
      <div class="modal-body ">
        <div class = "card">
          <div class ="card-body form-fieldset">
          <div class="row">

          <div class="col-sm-6">
              <label class="label-color">From:</label>
            <small class="form-errors pull-right" value=""><?php echo e($errors->first('date',":message")); ?></small>

            <div class="input-group mb-3">
           
              <?php echo e(Form::Date('from_date', '', ['class' => 'form-control form-control-sm  cls_date', 'aria-label' => 'Default', 'aria-describedby' => 'inputGroup-sizing-default'])); ?>

            </div>    
          </div>

          <div class="col-sm-6">
            <label class="label-color">To:</label>
            <small class="form-errors pull-right" value=""><?php echo e($errors->first('date',":message")); ?></small>

            <div class="input-group mb-3">
           
              <?php echo e(Form::Date('to_date', '', ['class' => 'form-control form-control-sm  cls_date', 'aria-label' => 'Default', 'aria-describedby' => 'inputGroup-sizing-default'])); ?>

            </div>    
          </div>
          
       

          <div class="col-sm-12">
            <label class="label-color"> Select Format:</label>
            <small class="form-errors pull-right" value=""><?php echo e($errors->first('format',":message")); ?></small>
            <div class="input-group mb-3">
              <select name="format" class="form-control form-control-sm">
                <option value="0">PDF</option>
                <option value="1">EXCEL</option>    
              </select>
            </div>
          </div>
        </div>
      </div>
    </div>    

      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
        <button type="submit" class="btn btn-primary cls_submit" content="generate ledger report">Generate</button>
      </div>
    </div>
  </div>
  <?php echo e(Form::close()); ?>

</div><?php /**PATH /var/www/skylite/resources/views/reports/modals/profit_loss_report.blade.php ENDPATH**/ ?>