Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Support / Invoicing Support / [SOLVED] Creating a custom field in Vendors

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

[SOLVED] Creating a custom field in Vendors

More
10 years 11 months ago - 10 years 11 months ago #4806 by tachyon
I would like to create a custom field in Vendors, for example, a Fax Number. I would also like this Fax number to appear on the header of the Invoice. I assume that I will need to :
  1. 1. Modify the database by adding a new field in #__invoicing_vendors table.
  2. 2. Modify the Model by editing administrator/components/com_invoicing/models/vendors.php to include the new field.
  3. 3. Modify the View by editing administrator/components/com_invoicing/views/vendor/tmpl/form.php
  4. 4. Modify INVOICING_TEMPLATE_INVOICE template to include a fax number tag (for example {vendor_company_fax} ) in the header.
  5. 5. Modify the tag replacer by editing the replaceTags() function in administrator/components/com_invoicing/helpers/format.php to fill in the fax number tag with the record from the database.

Am I on the right track so far, or am I still missing something? Any help will be most appreciated.
Last edit: 10 years 11 months ago by loic.
More
10 years 11 months ago #4813 by loic
Replied by loic on topic Creating a custom field in Vendors
Hello,

It sound pretty good.

Did you make a try ?
More
10 years 11 months ago #4827 by tachyon
Replied by tachyon on topic Creating a custom field in Vendors
Yep, it works fine. An extra step I have to do is to include the "Fax Number" tag in the en-GB.com_invoicing.ini so the line will read

[INVOICING_VENDOR_FAX] {vendor_company_fax}


in the header.
More
10 years 11 months ago #4836 by loic
Replied by loic on topic Creating a custom field in Vendors
That a good news :).

Best Regards.
Time to create page: 0.133 seconds
Powered by Kunena Forum