<?= view('admin/layouts/header', ['title' => 'Edit Suplier']) ?>
<?= view('admin/layouts/sidebar', [
    'activeMenu' => 'suplier',
    'userName'   => $userName,
    'userEmail'  => $userEmail,
]) ?>
<?= view('admin/layouts/topbar', [
    'pageTitle'    => 'Edit Suplier',
    'pageSubtitle' => 'Perbarui data suplier.',
    'topbarAction' => '<a href="' . site_url('admin/suplier') . '" class="btn btn-outline-dark"><i class="bi bi-arrow-left me-1"></i>Kembali</a>',
]) ?>

<?= view('admin/suplier/form', [
    'action'      => site_url('admin/suplier/update/' . $suplier['id']),
    'suplier'     => $suplier,
    'submitLabel' => 'Update Suplier',
]) ?>

<?= view('admin/layouts/footer') ?>
