<?= $this->extend('web_layout/admin/print_layout') ?>

<?= $this->section('content') ?>

<table class="table-print">            
    <tr>
        <td class="width-50 text-left"><?= str("sales_trans_date") ?></td>
        <td class="width-150 text-left"><?= printDate(["value" => $data->trans_date]) ?></td>
    </tr>            
    <tr>
        <td class="width-50 text-left"><?= str("sales_customer_id") ?></td>
        <td class="width-150 text-left"><?= printText(["value" => $data->customer_id_txt]) ?></td>
    </tr>            
    <tr>
        <td class="width-50 text-left"><?= str("sales_product_id") ?></td>
        <td class="width-150 text-left"><?= printText(["value" => $data->product_id_txt]) ?></td>
    </tr>            
    <tr>
        <td class="width-50 text-left"><?= str("sales_description") ?></td>
        <td class="width-150 text-left"><?= printText(["value" => $data->description]) ?></td>
    </tr>            
    <tr>
        <td class="width-50 text-left"><?= str("sales_qty") ?></td>
        <td class="width-150 text-left"><?= printNumber(["value" => $data->qty]) ?></td>
    </tr>            
    <tr>
        <td class="width-50 text-left"><?= str("sales_total_amount") ?></td>
        <td class="width-150 text-left"><?= printMoney(["value" => $data->total_amount]) ?></td>
    </tr>            
    <tr>
        <td class="width-50 text-left"><?= str("sales_taxed") ?></td>
        <td class="width-150 text-left"><?= printNoYes(["value" => $data->taxed]) ?></td>
    </tr>            
    <tr>
        <td class="width-50 text-left"><?= str("sales_doc_list") ?></td>
        <td class="width-150 text-left"><?= printCheckbox(["value" => $data->doc_list]) ?></td>
    </tr>            
    <tr>
        <td class="width-50 text-left"><?= str("sales_status") ?></td>
        <td class="width-150 text-left"><?= printText(["value" => $data->status]) ?></td>
    </tr>
</table>  

<?= $this->endSection() ?>
