6 Commits

Author SHA1 Message Date
David Bomba
ddf376090a
Revert "Export settings with company array (#3264)" (#3265)
This reverts commit ab4a44ff18ffd9d0370e5f978fa7ee4f59eb6672.
2020-01-30 12:24:55 +11:00
Benjamin Beganović
ab4a44ff18
Export settings with company array (#3264) 2020-01-30 12:24:38 +11:00
Benjamin Beganović
161161f628 (Patched) Export contacts with client array #3251 (#3253) 2020-01-28 07:55:35 +11:00
David Bomba
0ffa9a971d Remove last_login from migration array of clients 2020-01-24 13:16:02 +11:00
David Bomba
536c9c4a82 Fixes for export attributes 2020-01-23 09:47:50 +11:00
Benjamin Beganović
869967ba6a (v1): Export data for migration (#3238)
* Scaffold migration controller & steps

* - Basic controller scaffold
- Intro step
- Downloading data

* Import step for the v2

* Export file using account_key property

* Fix button displaying

* Client export mappings

* Company export mappings

* Add withTrashed() for clients

* Export users mappings

* Export invoices mappings

* Export company properties as array

* add withTrashed() for invoices

* Downloading the json file

* Fix 'account_id' for company export
- Code cleanup & leftovers

* Creating zip for logo & storing json as file (wip)

* Zipping & sending migration files (wip)

* Exporting & mappings for quotes

* Re-enable headers for downloading

* Mappings for tax rates

* Mappings for the products

* Fix formattings & php doc messages

* Bring back headers for downloading

* Export 'company_id', 'user_id' with clients

* Export 'id' with users resource

* Remove unused parameter

* Export mappings for payments

* Export 'line_items' with invoices

* Export credits & export client id

* Export 'credits' within main JSON

* Mappings for line_items

* Fix 'is_amount_discount' for invoice export

* Exporting migration file as .zip archive

* Improve settings card for migration

* Removed duplicated keys in texts.php for en

* Fix formatting in en/texts.php

* Integrate the migration part with rest of UI

* Export company as object, not array

* Clean up

* Fixes for V1

* Apply formatting

* Remove comments
- Added 'ext-zip' in composer.json
- Fixed $credits transform

* Remove unused params

Co-authored-by: David Bomba <turbo124@gmail.com>
2020-01-23 08:09:22 +11:00