Skip to content
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

CSV import for the costs #6

Open
Iepoev opened this issue Jul 16, 2017 · 4 comments
Open

CSV import for the costs #6

Iepoev opened this issue Jul 16, 2017 · 4 comments
Assignees

Comments

@Iepoev
Copy link

Iepoev commented Jul 16, 2017

This was the costs can be premade in software such as excel instead of having to type it into html forms

@rien
Copy link
Contributor

rien commented Jul 16, 2017

Which format will those CSV files have? Can you give an example?

@Iepoev
Copy link
Author

Iepoev commented Jul 16, 2017

seeing as the invoice template requires costs to consists of date, description and cost.
Because the description might contain commas, maybe we should use semicolons as separator?

Date;Description;Cost
16/07/17;Standgeld Partnerstand;212,16
16/07/17;Huur tafels, stoelen en licht;51,20

@rien
Copy link
Contributor

rien commented Jul 16, 2017

CSV solves this by using quotation marks for each field. I have created a CSV import feature in Rails for another application, which had to be flexible with these kinds of things. I will into this once we can add items to invoices.

@rien rien self-assigned this Jul 16, 2017
@werthen
Copy link
Contributor

werthen commented Jul 16, 2017

Actual usage with excel shouldn't be a problem either. There are plenty of applications which will parse xlsx files just fine. We could provide a simple template which should be filled in, without the user having to export as .csv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants