-
Notifications
You must be signed in to change notification settings - Fork 775
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[IP-1] Working expense module for 1.5.12 #688
base: do_NOT_USE_develop
Are you sure you want to change the base?
[IP-1] Working expense module for 1.5.12 #688
Conversation
@chrispytorius Thank you, Please check your files again. There are a few files that have recorded no change (perhaps end-of-line or end-of-file changes but are listed here as modified. Configure your git to ignore whitespace changes. Also, it is not a good practice to change your master branch and push that to a derivative branch. Rather create a new branch that matches your task number and then make your changes against this. You can then submit a pull request to merge that branch to the target branch (in this case v1.5.10.1) |
Thanks for the help, i have updated the pull request with the whitespace changes removed, and i have updated to the correct target branch. Hopefully this is now correct. |
Hi, I was wondering if we could make this expenses module work. |
i cannot make this work i get this error: Error Number: 1146 Table 'transene_invo873.ip_expense_custom' doesn't exist SELECT * FROM Filename: core/MY_Model.php Line Number: 157 Can someone guide me in the correct direction? |
add those missing tabels to the db
…On Thu, Apr 23, 2020, 20:29 rein-10 ***@***.***> wrote:
i cannot make this work i get this error:
Error Number: 1146
Table 'transene_invo873.ip_expense_custom' doesn't exist
SELECT * FROM ip_expense_custom WHERE expense_id IS NULL
Filename: core/MY_Model.php
Line Number: 157
Can someone guide me in the correct direction?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#688 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABI5UAV4NSQE4Z5FIBXEJJLROCCIBANCNFSM4GX3B6CA>
.
|
If anything should be added/changed in the DB this also should be added to /application/modules/setup/sql/ in the related .sql file. In this example you should create 035_1.5.12.sql and add all the DB changes so they will be executed in the update process. |
Thanks for the comment. Didnt really know how but finally figured it out. Is it possible to attach multiple files, instead of just one? |
from what I saw the file upload is just 1. but its not using existing fileupload from dropzone.js as in invoices and qoutes. also it stores file as blob in db. |
The tax amount paid only works correctly for 10%? If you change the percentage it will show an incorrect calculation. You can fix it by changing the divisor but it would be a problem if you need to manage more than one tax rates. Am I right or is there something that i am missing? |
I'm assuming this is a precision issue. Sounds like .1 is fine, but .09 is rounding or dropping the precision. |
Yes any other value instead of .1, will make the calculation imprecise. |
Yes any other value instead of .1, will make the calculation imprecise. Made this correction and it will work with all the values that I tried, dont know really much of PHP but this work for me. partial_expense_table.php
mdl_reports.php
Hope this helps! |
I keep on getting this error when trying to vie the index. I realize I need to add ip_expenses to my database, what I don't understand is what I should add to my columns. Can someone give me a hand?
Also, how do I get expenses |
@arturtle , You will have to revisit your installation of the module. The module needs the
|
Is there any progress on this? Further plans? |
@BastianBalthasarBux the progress is, that this module is built in V2 of InvoicePlane. The V2 progress is coming along quite nicely. |
@nielsdrost7 this sounds really great! |
@BastianBalthasarBux understood. I'll add you to slack, we sometimes talk about V2 development there. Here is the invite link for Slack: |
@nielsdrost7 i am already there since ... hmm, ages I think ... ;) |
Sorry i messed up my first pull request, this one is has the correct files. Git is new to me :/
Pull Request Checklist
Issue Type (Please check one or more)