Skip to main content

Support Policy

We only provide official support for Solidres's subscribers, all subscribers can request support by using forum or support ticket system. For more information please check our Support Policy at www.solidres.com/support-policy

Tax on room discount missing

More
9 years 2 weeks ago - 9 years 2 weeks ago #10664 by gmonamour
Tax on room discount missing was created by gmonamour
Hi,
it seems that the tax of the discount is missing.
I mean:
I set a tax of 10% on the solidres tax.
Now the tariff of the room has a tax of 10%. This is correct!
But if there is a discount on the price of the room there must be an amount of the tax of the discount.
On the invoice_customer_pdf.php file i have
Code:
// Total room cost $totalPriceTaxExcl = clone $baseCurrency; $totalPriceTaxExcl->setValue($displayData['reservation']->total_price_tax_excl); // Total discount $totalDiscount = clone $baseCurrency; $totalDiscount->setValue($displayData['reservation']->total_discount); // Room Tax amount $roomTaxAmount = $displayData['reservation']->tax_amount; $roomTax = clone $baseCurrency; $roomTax->setValue($roomTaxAmount);

But where is the Discount tax amount?
By this way the total tax amount in the invoice is not correct because it misses the discount in the tax.
As you can see from my screenshot the tax is not €471 but the correct amount is €290 because you have to subtract the discount to the room cost first and then you have to calculate the tax!.

Thanks a lot, best regards

My site with Solidres www.gmonamour.it/
Last edit: 9 years 2 weeks ago by gmonamour.

Please Log in or Create an account to join the conversation.

More
9 years 2 weeks ago #10666 by gmonamour
Replied by gmonamour on topic Tax on room discount missing
Hi,
Ok, I've got it!
There was the discount pre tax setting. I saw it. But it has no effect on the old booking!
So, now, with a new booking it works fine.
Thanks

My site with Solidres www.gmonamour.it/

Please Log in or Create an account to join the conversation.

More
9 years 2 weeks ago #10671 by solidres
Replied by solidres on topic Tax on room discount missing
Hi,

Old booking still keep the previous discount pre tax setting and it is not supposed to be changed.

You can change it in your table #__sr_reservations - field discount_pre_tax.

Regards,

Please Log in or Create an account to join the conversation.

Moderators: solidres

All the things you need to make your work easier. Did you like Solidres?