Product Vise Discount Error In Sale Price

0

When we make product vise discount for a product with one quantity, there is no issue, but when we make product vise discount with more then one quantity, the product price changes in invoice, but there is no calculation issue. How can be the product price change ? (refer the attachments)

Question Resolved For: Stock Manager Advance with Point of Sale Module 0 Votes 2 Answers 562 Views
Asked by Thizz 2 years ago

0

Answered by Mian Saleem

Hello,

I have checked the presentation values are wrong. Please edit themes/default/admin/views/pos/view.php and change line no 169 to

echo '<tr><td class="no-border border-bottom">' . $this->sma->formatQuantity($row->unit_quantity) . ($row->product_unit_code ? $row->product_unit_code : '') . ' x ' . ($row->item_discount != 0 ? '(' . $this->sma->formatMoney($row->unit_price + ($row->item_discount / $row->unit_quantity)) . ' - ' . $this->sma->formatMoney($row->item_discount / $row->unit_quantity) . ')' : $this->sma->formatMoney($row->unit_price)) . ($row->item_tax != 0 ? ' [' . lang('tax') . ' <small>(' . ($Settings->indian_gst ? $row->tax : $row->tax_code) . ')</small> ' . $this->sma->formatMoney($row->item_tax) . ($row->hsn_code ? ' (' . lang($row->product_type == 'service' ? 'sac_code' : 'hsn_code') . ': ' . $row->hsn_code . ')' : '') . ']' : '') . '</td><td class="no-border border-bottom text-right">' . $this->sma->formatMoney($row->subtotal) . '</td></tr>';

I will fix this in next update.

Thank you

0

Answered by Thizz 2 years ago

Thank you for your response. Now it fixed.

We use Cookies

We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.