Skip to Content Skip to Menu

Problem with Company name on invoice

  • bgoutier
  • bgoutier
  • OFFLINE
  • Posts: 13
  • Thanks: 4
  • Karma: 0
6 years 7 months ago #303874 by bgoutier
Problem with Company name on invoice was created by bgoutier
Hi,

Running:

Joomla: 3.8.7
CBsubs 4.2.0+build.2018.04.03.17.01.22.ef7c42874
Community Builder: 2.1.4+build.2018.03.19.18.24.36.eaec2182a

I have a problem, when a user is modifying a prefill invoice during the payment process. The field company appear in the form even if there is no such field in the database but the cb_subs_inv_payer_business_name exist.

If the user enter anything into the field, the vat field will be shown on the form. What can I do to remove those fields from the form as there is no need for us for such fields. Another problem, as you can see in the attachment in the prefill form, the province is there, but the form to modify the invoice, it request to select a province. When returning, province is shown not translated the é is replaced by e only. This is only for the first modification of the invoice after that the field province is prefiled with the correct province.

In the general parameter of CB subs:

Display - Invoice

Invoicing address handling at payment time : Mandatory invoicing address

For the first invoice of the client:

The field Company: nothing is selected
VAT : nothing is selected


Thanks
Bernard Goutier

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

  • krileon
  • krileon
  • OFFLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
6 years 7 months ago #303894 by krileon
Replied by krileon on topic Problem with Company name on invoice
At this time there is no way to remove Company or VAT invoice fields beyond modifying core files, but doing so will result in your changes lost on every update. I suppose you could try hiding them using CSS. The below should work.

Code:
#cbfr_vat_number, #cbfr_payer_business_name { display: none !important; }

As for the province not initially displaying correctly that's a known issue with no workaround at this time.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: bgoutier

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

  • bgoutier
  • bgoutier
  • OFFLINE
  • Posts: 13
  • Thanks: 4
  • Karma: 0
6 years 7 months ago #303897 by bgoutier
Replied by bgoutier on topic Problem with Company name on invoice
Hi,

Yes, it's better to modify the css file than the core files, and it's working fine.

Thanks.
Bernard Goutier
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum