<div class="col-md-6">
  <div class="p-20">
    <table class="table m-0">
      <thead>
        <tr>
          <!--<th>#</th>-->
          <!--<th>Years</th>-->
          <th>From</th>
          <th>To</th>
		  <th>Period Name</th>
          <th>Action</th>
        </tr>
      </thead>
      <tbody>
        <?php if(count($periods)>0): ?>
        <?php foreach($periods as $row): ?>
        <tr>
          <!--<th scope="row"><?php echo e($row->id); ?></th>-->
          <td><?php echo e(\App\Providers\Common::format_date($row->from)); ?></td>
          <td><?php echo e(\App\Providers\Common::format_date($row->to)); ?></td>
		  <td><?php echo e($row->name); ?></td>
          <td class="actions"><a class="on-default" href="<?php echo e(url('budgets/periods/update',$row->id)); ?>" ><i class="fa fa-pencil-square-o" id="btn"  ></i></a> &nbsp; &nbsp; <a class="on-default remove-row" href="<?php echo e(url('budgets/periods/delete/'.$row->id)); ?>" onclick="return confirm('Are you sure you wish to proceed?')"><i class="fa fa-trash-o"></i></a></td>
        </tr>
        <?php endforeach; ?>
        <?php endif; ?>
      </tbody>
    </table>
  </div>
</div>
