julien-nc / cospend-nc

💰 💲hared budget manager Nextcloud app
GNU Affero General Public License v3.0
238 stars 29 forks source link

[Feature] Import existing Splid project data #31

Open Mynacol opened 3 years ago

Mynacol commented 3 years ago

Splid is an app similar to this one.

To ease migration, I would like to see an import of the existing data. Splid can export existing data in a XLS file. After converting it to CSV, this program could import the table data as a new project.

Mynacol commented 3 years ago

Ideally, cospend could directly import the XLS file, which would require a library.

Mynacol commented 3 years ago

I have already written some code, but am stuck at importing the actual bills.

While the existing importCsvProject() just uses one payer and some owers, Splid supports custom spending per ower. Cospend supports this too, but I don't know how to import a bill with custom spending. The addBill() method doesn't seem to be able to do this.