MOON
Server: Apache
System: Linux server1.studioinfinity.com.br 2.6.32-954.3.5.lve1.4.90.el6.x86_64 #1 SMP Tue Feb 21 12:26:30 UTC 2023 x86_64
User: artinside (517)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //home/artinside/fhs.artinside.com.br/themes/admin/widgets/order/order.php
<?php $this->layout("_admin"); ?>

<section class="wrapper">


    <div class="row">

        <div class="col-12 text-center my-4 text-sm-center">
            <h3> Consulta de Pedidos</h3>
            <p>Consulte os pedidos no sistema</p>
        </div>
        <div class="col-lg-12">
            <section class="card">
                <header class="card-header">
                    <div class="task-progress" style="padding: 15px 0;">
                        <h1>Consulta para: [<b><?= $title ?></b>]</h1>
                    </div>
                </header>
                <?= $this->insert("views/fragments/table-orders", ["orders"=>$orders])?>

                <?= $paginator; ?>

            </section>
        </div>
    </div>


</section>

<?php
$this->start("scripts");
?>
<script>
    $(".j_actions").on("click","#j_shipment_code", function (e) {
        e.preventDefault();
        var id = $(this).data("id");
        var formatedId = $(this).data("order");
        $("#form_order_id").val(id);
        $(".j_order_id_number").html("Pedido NĂºmero: <b>[#"+formatedId+"]</b>");
    })


</script>
<?php

$this->end();
$this->insert("views/modals/shipment-code");
?>