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

<?= view('admin/pelanggan/form', [
    'action'        => site_url('admin/pelanggan/store'),
    'kodePelanggan' => $kodePelanggan,
    'submitLabel'   => 'Simpan Pelanggan',
]) ?>

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