Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Profile for fabelmik

  • OFFLINE
  • Time Zone: GMT +0:00
  • Local Time: 23:48
  • Posts: 11
  • Profile Views: 3172
  • Location: Unknown
  • Gender: Unknown
  • Birthdate: Unknown

Signature

Posts

Posts

emo
I have tried to update to version 2.0.22 from within Joomla using the update function but it doesn´t work.
Please can you send me the update file or something?

I´m right now running version 2.0.13 so it´s time for an upgrade I think..
How do I get the new ...
Category: Customer Support
emo
Finally had time to really look into this..

All the tags are configurable in administrator/components/com_vmivnoice/helpers/invoicehtml.php

I just had to edit at "case 'subtotal_net':" and "case 'subtotal_tax':" like this:

case 'subtotal_net':
$replacement = InvoiceCurrencyDisplay::getFullValue($this->order->order_total - (($this->order->order_total - $this->order->order_payment) * 0.2), $this->currency);
break;

and

case 'subtotal_tax':
$replacement = InvoiceCurrencyDisplay::getFullValue(($this->order->order_total - $this->order->order_payment) * 0.2, $this->currency);
break;

And now I have tags with the output I wanted.
Total price with dis ...
Category: Customer Support
emo
Hi,

I can see that maybe my explanation is a bit too complicated/badly formulated, so I will try to ask for another solution.

Is there any way I can change the value-output/price-calculation of the tags: {subtotal_tax} and {subtotal_net} ?

As it is, out of the box, {subtotal_tax} = the total tax-amount of all products but without including product discounts and without including shipping tax,
- and {subtotal_net} = the total of all product prices (without including product discounts) + shipping and payment fees minus {subtotal_tax}

What I want is this:
{subtotal_tax} = the total tax-amount of all products (including product discounts) + shipping tax.
and {subtotal_net} = the total of all product prices (including product discounts) + shipping and payment fees, and minus the correct {subtotal_tax}

I hope this is easier to understand, and hopefully someone can show me what I need to do to achieve this.
Total price with dis ...
Category: Customer Support
emo
Hi,

The only thing I now need to add to my invoice is a price total with discount but without tax just above the total sales price..
I can´t find a price-tag with this price-info anywhere.

I have a product tax of 25% "Moms", so what I want is basically this: "the total sales amount incl. discounts" - "the total tax amount".

I also want to add a line simply showing the total tax-amount, but again I havent been able to find a suitable tag.

If you can only lead me to the PHP file I need to edit, then I could try to add some code with reference to:
<?php echo $this->product->prices['priceWithoutTax']; ?> and make my own calculation rules.
Don´t know if that would work, though.

I hope someone can help with this. This is the only thing missing from completing my invoice-design.
Total price with dis ...
Category: Customer Support
emo
Update..

I have tried using the {tax_price} - tag inside the "Table Row" section to show total tax amount, but that shows tax amount without including product discounts.

This means I still haven´t found a solution but the fix seems to be very close.
If only there were a tag like {tax_price} that also included product discounts, then at least half of my worries would be over.
Total price with dis ...
Category: Customer Support
emo
Thanks again,

All the problems are now solved, thanks to your help!:)

I now have one last little annoying problem.. I want to show the following just above the "Total final sales price" line:

1. Total final sales price including product-discounts but without tax.
I have a product tax of 25% "Moms", so this is basically ("the subtotal of all the products final sales price" - possible coupon discount) / 1,25 + possible shipping and payment fees..
2. Total tax amount.

I haven´t figured out how to display these numbers, so I hope someone can help me with this :)
If you can only lead me to the PHP file i need to edit then I could try to add some lines with reference to:
<?php echo $this->product->prices['priceWithoutTax']; ?> and make my own calculation rules.
Don´t know if that will work, though
Total price with dis ...
Category: Customer Support
emo
Thanks pama,

Yea, I don´t use the discounts in VM the way you normally do. In my webshop "prices without discount" = "normal market price" and "final sales price" = "price minus discount".

This is also why I don´t want to show discounts subtotal on the invoice. I do want to show coupon discounts, though, so its only the "normal price discount subtotal" - line that I want to remove. I can see that coupon discounts is shown on its own line, so that shouldn´t be a problem.

It would be great if you can show me how to modify the source code in order to remove/disable the price-discount subtotal.

Brgds
How to remove discou ...
Category: Customer Support
emo
Hi pama,

Thank you very much for the reply and resolution-tip!

A quick patch-fix would be much appreciated.
You can send it to: Diese E-Mail-Adresse ist gegen Spambots geschützt! Du musst JavaScript aktivieren, damit Du sie sehen kannst.

Brgds
no background image ...
Category: Customer Support
emo
After reading the FAQ I changed the file-type to JPG and set the path to "absolute", then the problem was solved.

Now I have a different problem, though..

As you can see on my attached image, my background image doesnt stretch all the way to the each side of the document. I have tried many different resolutions and all the different settings in "Background settings" in admin, but there seems to be a margin limit for the background image.

Does anyone know how to make the background fit the entire page? Also, what is the correct resolution to set in Photoshop to make the image match the resolution of the PDF-document perfectly?
no background image ...
Category: Customer Support
emo
Hi,

I have another type of error message when I add my background image.

Warning: substr() expects parameter 3 to be long, string given in /home/t/r/ftp_traeogbygdk/administrator/components/com_vminvoice/helpers/invoicehtmlparent.php on line 265

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /home/t/r/ftp_traeogbygdk/administrator/components/com_vminvoice/libraries/tcpdf/tcpdf.php on line 7795
TCPDF ERROR: [Image] Unable to get image: /images/baggrund1.png

Could this be because of wrong/incompatible background size or something similar?
no background image ...
Category: Customer Support
emo
Hi,

I have tried to figure this out but I can´t find a way to remove the "discount subtotal" coming from the {items} tag..
I also don´t know how to change the default margin between each product line in the {items} tag.

I have attached a picture showing in detail what I mean.

I hope someone can help me with this.


Brgds
How to remove discou ...
Category: Customer Support
More
User Login Empty