Question: Display Tax Title In Invoice

Display Tax Title In Invoice

Hi Team, How to display Tax Title's in Invoice as we are using SGST, CGST, Please guide me thank you. It show as order tax instead I need to display tax title.

A

Abhishek

Asked
Hi Team,
How to display Tax Title's in Invoice as we are using SGST, CGST, Please guide me thank you. It show as order tax instead I need to display tax title.
  • MS

    Mian Saleem

    Answered
    Hello,

    I didn't understand but you can edit the view files as you need. The view files are `themes/default/views/sales/view_invoice_modal.php` for modal and `themes/default/views/sales/view_invoice.php` for pdf.

    Thank you

    Thank you
  • A

    Abhishek

    Answered
    I know where to edit, but In view invoice I need to display Title of tax name
    <?php
    if ($inv->order_tax > 0) {
    ?>
    <tr>
    <th class="word_text" colspan="<?= $cols; ?>">
    <?= $this->mywords->c2w($inv->order_tax); ?>
    </th>
    <th class="text-right" colspan="2">
    <?= lang("order_tax"); ?> (<?= $Settings->currency_prefix; ?>)
    </th>
    <th class="text-right">
    <?= $this->sim->formatMoney($inv->order_tax); ?>
    </th>
    </tr>
    <?php
    }
    ?>
  • MS

    Mian Saleem

    Answered
    Hello,

    You will need to get the tax in controller and pass it view. You can modify the `getInvoiceByID` to join with `tax_rates` or just get it in the controller as `$this->data['order_tax'] = $this->sales_model->getTaxRateByID($inv->order_tax_id);` and then use `$order_tax->name` to display.

    If you are not sure, please hie any developer to help you modify it as you need.

    Thank you
  • A

    Abhishek

    Answered
    Can U Please explain in details
  • MS

    Mian Saleem

    Answered
    Hello,

    I can only give the idea or tip. The above reply is quite details and I am not sure I can give any further details. If you didn't get uit, you should consider hiring any developer to help you.

    Thank you
  • Login to Reply