<?php $title=__('customers.edit_customer', 'Edit Customer'); ob_start(); ?>
<h1 class="h4 mb-3"><i class="fas fa-user-edit me-2"></i><?= __('customers.edit_customer', 'Edit Customer') ?></h1>
<form method="POST" action="/samanta_crm/customers/<?= $customer['id'] ?>/update">
  <?php require __DIR__.'/form_fields.php'; ?>
  <div class="mt-3">
    <button class="btn btn-primary"><i class="fas fa-save me-1"></i><?= __("common.update", "Update") ?></button>
    <a href="/samanta_crm/customers" class="btn btn-secondary"><?= __("common.cancel", "Cancel") ?></a>
  </div>
</form>
<?php $content=ob_get_clean(); require_once __DIR__.'/../layout.php'; ?>
