Net amount of invoice in pdf

26.04.2012 07:43
#1
dette
Joomshopping forum user no avatar
Name: dette
02.09.2011
Сообщения: 178
Quote
Net amount of invoice in pdf

Hello webdesigner,

It is possible the net amount in the account to identify and make the delivery time to record.

Both are required by law in Germany. I think, are two lines missing in php, but I can not program and I hope for your help.

 
26.04.2012 07:52
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25904
Quote
Aw: Net amount of invoice in pdf

Configuration / general
Displaying prices in the front end: Netto

 
26.04.2012 08:02
#3
dette
Joomshopping forum user no avatar
Name: dette
02.09.2011
Сообщения: 178
Quote
Aw: Net amount of invoice in pdf

Thank you for your answer webdesigner.

I had already tried your tip, but then seem not gross prices. Under German law, both prices appear on the invoice.

 
26.04.2012 08:27
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25904
Quote
Aw: Net amount of invoice in pdf

Try change file

\components\com_jshopping\controllers\checkout.php

after row
function step5

add row
updateAllprices();


after row
function step5save

add rows

$jshopConfig = &JSFactory::getConfig();
$jshopConfig->display_price_front_current = 1;
updateAllprices();

 
26.04.2012 09:30
#5
dette
Joomshopping forum user no avatar
Name: dette
02.09.2011
Сообщения: 178
Quote
Aw: Net amount of invoice in pdf

Thank you for your trouble.

I inserted the lines of you in the file. It looks like this.


row 579

function step5(){
updateAllprices();
$this->_check(5);
JPluginHelper::importPlugin('jshoppingcheckout');
$dispatcher =& JDispatcher::getInstance();
$dispatcher->trigger('onLoadCheckoutStep5', array() );

row 667

function step5save(){
$ jshopConfig = & JSFactory :: getConfig ();
$ jshopConfig-> display_price_front_current = 1;
updateAllprices ();

$mainframe =& JFactory::getApplication();
$this->_check(5);

Then I did a test order and got this message:


Parse error: syntax error, unexpected T_STRING, expecting T_VARIABLE or '$' in C:\xampp\htdocs\roh\components\com_jshopping\controllers\checkout.php on line 668

 
26.04.2012 13:44
#6
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25904
Quote
Aw: Net amount of invoice in pdf

$ jshopConfig = & JSFactory :: getConfig (); - remove the spaces

 
27.04.2012 12:28
#7
dette
Joomshopping forum user no avatar
Name: dette
02.09.2011
Сообщения: 178
Quote
Aw: Net amount of invoice in pdf

I have now removed the space character, and there is no error message, but when I ordered appears, still no net

 
28.04.2012 17:56
#8
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25904
Quote
Aw: Net amount of invoice in pdf

http://www.webdesigner-profi.de/joomla-webdesign/joomla-shop/downloads/plugins.html

Install plugin "Order Netto"


Последнее изменение: 28.04.2012 17:56
 
28.04.2012 20:19
#9
dette
Joomshopping forum user no avatar
Name: dette
02.09.2011
Сообщения: 178
Quote
Aw: Net amount of invoice in pdf

Wow, you're a genius. Thanks a million for your help. This has now worked out great.

 
13.09.2015 23:18
#10
krumnow
Joomshopping forum user no avatar
Name: Sven
17.11.2013
Сообщения: 6
Quote
Aw: Net amount of invoice in pdf

Hi Webmaster,

I´ve change also everything what you have written and it works great.
But there is a problem with the discount.
The tax is regarding only to the net amount but without the discount.
That is a problem because the net amount - discount is the base for the tax.

Please see the attachment - the invoice is wrong. The correct invoice will be:

amount 16,72
-2,51 discount (15%)
=14,21
+5,84 charge
=20,05
+3,81 Tax
=23,86

Could you help me and also all the other users? Otherwise the finance department is not so amused.

Thanks and best regards.

(sorry for my bad english)
Aw: Net amount of invoice in pdf

 
14.09.2015 21:32
#11
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25904
Quote
Aw: Net amount of invoice in pdf

Config / checkout
Calculate tax after discount

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.