Jump to content

Invoice template


Aziz

Recommended Posts

We have a Company in UK and Pakistan

 

Both are Reg  with GOVT with  VAT  

its  leagally  required that we  show the local  country offical adress and  VAT /GST number on the invoice

So  i want if user sign up or placed the order from Pakistan they should get invoice template of Pakistan and if  a custumer placed the order from  other country the system  should  give them invoice from Uk company

 

example : if some one placed order from EU people get invoice from ireland company and if some one placed order from USA they get  USA a dress onCOmpany

ADOBE

Adobe Systems Software Ireland Ltd

4-6 Riverwalk Citywest Business Park Dublin 24

Ireland VAT No: GB779019395

 

 

  • Like 1
Link to comment
Share on other sites

5 minutes ago, Aziz said:

We have a Company in UK and Pakistan

 

Both are Reg  with GOVT with  VAT  

its  leagally  required that we  show the local  country offical adress and  VAT /GST number on the invoice

So  i want if user sign up or placed the order from Pakistan they should get invoice template of Pakistan and if  a custumer placed the order from  other country the system  should  give them invoice from Uk company

 

example : if some one placed order from EU people get invoice from ireland company and if some one placed order from USA they get  USA a dress onCOmpany

ADOBE

Adobe Systems Software Ireland Ltd

4-6 Riverwalk Citywest Business Park Dublin 24

Ireland VAT No: GB779019395

 

Maybe having a brand for each case would work. 

i haven’t tried myself, but maybe you can set one for Pakistan and the other for the UK company. 

Link to comment
Share on other sites

1 minute ago, Luis said:

Maybe having a brand for each case would work. 

i haven’t tried myself, but maybe you can set one for Pakistan and the other for the UK company. 

The problem with this ,

 

lets say i have one 

 

abc.co.uk

and abc.pk

i will end up with two backend panel  which will create confuction

 

what   else  you can suggest

Link to comment
Share on other sites

1 minute ago, Aziz said:

The problem with this ,

 

lets say i have one 

 

abc.co.uk

and abc.pk

i will end up with two backend panel  which will create confuction

 

what   else  you can suggest

I see,

i haven’t tried multi brand yet so I don’t know if it’ll let you run on the same backend or how it would work. 

Maybe someone on the staff could advise you better on that. 

Link to comment
Share on other sites

7 minutes ago, Aziz said:

The problem with this ,

 

lets say i have one 

 

abc.co.uk

and abc.pk

i will end up with two backend panel  which will create confuction

 

what   else  you can suggest

One last thing 

they recently implemented invoice templating

/admin/settings/invoice-template

I didn’t take a look yet but maybe you can put some logic on the code. 

Link to comment
Share on other sites

On 9/24/2022 at 6:52 AM, Luis said:

One last thing 

they recently implemented invoice templating

/admin/settings/invoice-template

I didn’t take a look yet but maybe you can put some logic on the code. 

Exactly this

 

Syntax would be 

 

{% if invoice.current_data.content.client_address is not empty %}
	{% if invoice.current_data.content.client_address.country.code = 'FR' %}
      <p>French Address<br />
      Line 1<br />
      Line 2</p>
	{% else %}
      <p>Other Address<br />
      Line 1<br />
      Line 2</p>
    {% endif %}
{% endif %}

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...