<?php $title=__('orders.edit_order', 'Edit Order'); ob_start(); ?>
<h1 class="h4 mb-3"><i class="fas fa-edit me-2"></i><?= __('orders.edit_order', 'Edit Order') ?> #<?= $order['id'] ?></h1>
<form method="POST" action="/samanta_crm/orders/<?= $order['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/orders" class="btn btn-secondary"><?= __("common.cancel", "Cancel") ?></a>
  </div>
</form>
<?php $content=ob_get_clean(); require __DIR__.'/../layout.php'; ?>
