<div moe>
    <a start show href="#" class="text-success">Pay Rep</a>
    <form url="/api/storeOrder/payRep" right>
        <input type="hidden" name="uid" value="{{ $order->uid }}">
        <div class="mb-2">
            <label>Amount</label>
            <input type="number" name="amount" class="form-control form-control-sm" value="{{ number_format(((float) $order->rep_commission - (float) $order->rep_commission_total_paid), 2, '.', '') }}" step="0.01" />
        </div>
        <div class="mb-2">
            <label>Memo</label>
            <textarea name="memo" class="form-control form-control-sm"></textarea>
        </div>
        <div>
            <button submit class="btn btn-sm btn-primary me-2">Process</button>
            <button cancel class="btn btn-sm btn-default border">Cancel</button>
        </div>
    </form>
</div>