<%- include ('../../partials/header.ejs') %>
<%- include ('../../partials/navbar.ejs') %>
<%- include ('../../partials/sidebar.ejs') %>

<div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
      <div class="container-fluid">
        <%- include ('../../partials/message.ejs') %>
        <div class="row mb-2">
          <div class="col-sm-6">
            <h1>Voucher</h1>
          </div>
          <div class="col-sm-6">
            <ol class="breadcrumb float-sm-right">
              <li class="breadcrumb-item"><a href="/">Home</a></li>
              <li class="breadcrumb-item active">Voucher</li>
            </ol>
          </div>
        </div>
      </div><!-- /.container-fluid -->
    </section>

    <!-- Main content -->
    <section class="content">
      <div class="container-fluid">
        <div class="row">
          <div class="col-12">
            <div class="card">
              <div class="card-header">
                <h3 class="card-title">
                    <a href="/voucher/create" class="btn btn-primary">
                        <i class="nav-icon far fa-plus-square">
                            Tambah
                        </i>
                    </a>
                </h3>
              </div>
              <!-- /.card-header -->
              <div class="card-body">
                <%- include ('./table.ejs') %>
              </div>
              <!-- /.card-body -->
            </div>
            <!-- /.card -->
            <!-- /.card -->
          </div>
          <!-- /.col -->
        </div>
        <!-- /.row -->
      </div>
      <!-- /.container-fluid -->
    </section>
    <!-- /.content -->
  </div>

  <%- include ('../../partials/footer.ejs') %>
  <%- include ('../../partials/js.ejs') %>