-->
Welcome, Guest
Username: Password: Remember me

TOPIC: Extra Fields in Expense report

Extra Fields in Expense report 1 week 1 hour ago #37760

  • Chris_A
  • Chris_A's Avatar
  • OFFLINE
  • Newcomer
  • Posts: 2
  • Karma: 0
I am currently using Dolibar Version 10 on Ubuntu 19.04.

What I need: I need the ExtraFields module to allow me to modify the lines you add to the ExpenseReport.

What works right now: ExtraFields currently only updates the ExpenseReport fields NOT the lines.

What have I tried: I have attempted to modify the code and database to support my desired field types but I can't get the "add" function to work correctly. I'm not a professional coder.

Any help would be greatly appreciated

Chris
The administrator has disabled public write access.

Extra Fields in Expense report 4 days 23 hours ago #37790

  • Chris_A
  • Chris_A's Avatar
  • OFFLINE
  • Newcomer
  • Posts: 2
  • Karma: 0
Update:
I have figured out how to "hard code" the changes in the card.php and expensereport.class.php files to allow me add data into the new database fields I have created.
I think it would probably be much easier to use the "extrafields" module to accomplish this but at least I have it working now.
I must now adjust the code for the PDF report generator to fit my new fields.

I am still interested in hearing if someone has implemented the extrafields module into the lines section of the Expense Report.

Chris
The administrator has disabled public write access.
Time to create page: 0.113 seconds