<?php //print_r($usertype);exit; ?>
    <section class="content-header">
      <h1>
        Download All Invoices
      </h1>
      <ol class="breadcrumb">
        <li><a href="<?php echo base_url().'admin';?>"><i class="fa fa-dashboard"></i> Home</a></li>
        <li class="active">List</li>
      </ol>
    </section>

    <section class="content">
      <div class="row">
        <?php echo $this->utility->showMsg();?>
        <div class="col-xs-12">
          <div class="box">
            <div class="box-header">
              <h3 class="box-title">Management</h3>
              
              </div>
               
              <div></div>
            <!-- /.box-header -->
            <div class="box-body table-responsive">
              <?php for($i = 2019; $i <= date('Y'); $i++){ ?>
              <a target="_blank" href="<?php echo base_url().'admin/export/download/'.$i; ?>"><input type="button" class="btn btn-info" value="Download Invoice <?php echo $i; ?>" id="download"></a>
            <?php } ?>
            </div>
            <!-- /.box-body -->
          </div>
          <!-- /.box -->
        </div>
        <!-- /.col -->
      </div>
      <!-- /.row -->
    </section>