Commit Graph

29 Commits

Author SHA1 Message Date
Raphael Michel
068983004a ReportlabExportMixin: Encapsule header strings 2019-03-13 11:18:34 +01:00
Martin Gross
61c6cd2937 Show event date in PDF-export (Z#134372) 2019-02-23 13:47:36 +01:00
Raphael Michel
33c43ce482 Add columns lines to PDF overview export 2019-02-07 15:21:17 +01:00
Raphael Michel
f273cf4960 Fix misaligned PDF report 2019-02-07 15:21:12 +01:00
Raphael Michel
944138f7a9 Flake8 update 2019-01-30 09:31:34 +01:00
Raphael Michel
8abfbba9d0 Refactor cancelling positions and orders in the data model (#1088)
- [x] Data model
- [x] display in order view in backend
- [x] review all usages of OrderPositions.objects
- [x] review all usages of order.positions
- [x] review all other model usages
- [x] review plugins
- [x] plugins backwards-compatible API?
- [x] decide on way forward for REST API
- [x] need to cancel fees
- [x] tests
- [ ] plugins
  - [ ] gdpr
  - [ ] reports
- [x] docs
2019-01-10 16:52:34 +01:00
Raphael Michel
8ca629151d Order list exporter: Fix payment date and format localization 2018-08-12 19:52:20 +02:00
Raphael Michel
13f3b54393 Refactor order overview and hide empty fees section 2018-08-09 18:04:58 +02:00
Raphael Michel
5d73221b06 Add more flexibility to ReportLabMixin 2018-04-09 14:53:19 +02:00
Raphael Michel
3c3e59e932 Refs #99 -- Improve support for currencies with less than 2 decimal places (#783)
* Refs #99 -- Fix stripe support for zero-decimal currencies

* Add new money formatting method

* Force decimal places in many places

* Locale-aware currency rendering

* Fix currencies in more places

* More currency fixes
2018-02-26 10:46:07 +01:00
Raphael Michel
b0c5189c4b Fix timezone for footer of printed exports 2018-02-14 11:50:24 +01:00
Raphael Michel
353dce789d Fix #515 -- Add check-in lists (#693)
* Data model and migration

* Some backwards compatibility

* CRUD for checkin lists

* Show and perform checkins

* Correct numbers in table and dashboard widget

* event creation and cloning

* Allow to link specific exports and pass options per query

* Play with the CSV export

* PDF export

* Collapse exports by default

* Improve PDF exporter

* Addon stuff

* Subevent stuff, pretixdroid tests

* pretixdroid tests

* Add CRUD API

* Test compatibility

* Fix test

* DB-independent sorting behavior

* Add CRUD and coyp tests

* Re-enable pretixdroid plugin

* pretixdroid config

* Tests & fixes
2017-12-04 18:12:23 +01:00
Raphael Michel
e54e0d6511 New concept for fee handling (#610)
* New concept for fee handling

* More usages

* Remove all usages, make all tests pass

* API changes

* Small fixes

* Fix order of invoice lines

* Rebase migration
2017-09-05 10:11:26 +03:00
Raphael Michel
8123effa65 Add sub-events and relative date settings (#503)
* Data model

* little crud

* SubEventItemForm etc

* Drop SubEventItem.active, quota editor

* Fix failing tests

* First frontend stuff

* Addons form stuff

* Quota calculation

* net price display on EventIndex

* Add tests, solve some bugs

* Correct quota selection in more places, consolidate pricing logic

* Fix failing quota tests

* Fix TypeError

* Add tests for checkout

* Fixed a bug in QuotaForm

* Prevent immutable cart if a quota was removed from an item

* Add tests for pricing

* Handle waiting list

* Filter in check-in list

* Fixed import lost in rebase

* Fix waiting list widget

* Voucher management

* Voucher redemption

* Fix broken tests

* Add subevents to OrderChangeManager

* Create a subevent during event creation

* Fix bulk voucher creation

* Introduce subevent.active

* Copy from for subevents

* Show active in list

* ICal download for subevents

* Check start and end of presale

* Failing tests / show cart logic

* Test

* Rebase migrations

* REST API integration of sub-events

* Integrate quota calculation into the traditional quota form

* Make subevent argument to add_position optional

* Log-display foo

* pretixdroid and subevents

* Filter by subevent

* Add more tests

* Some mor tests

* Rebase fixes

* More tests

* Relative dates

* Restrict selection in relative datetime widgets

* Filter subevent list

* Re-label has_subevents

* Rebase fixes, subevents in calendar view

* Performance and caching issues

* Refactor calendar templates

* Permission tests

* Calendar fixes and month selection

* subevent selection

* Rename subevents to dates

* Add tests for calendar views
2017-07-11 13:56:00 +02:00
Raphael Michel
7dd99f3d18 Fix locale formatting in PDF exporter 2017-04-11 11:38:49 +02:00
Raphael Michel
5ca82a922a Fix timezones in PDF reports 2016-12-05 13:37:12 +01:00
Raphael Michel
8b00361d1b Fix wrong sums 2016-11-28 19:36:55 +01:00
Raphael Michel
90177e6809 Adjust overview PDF export to the new columns 2016-11-27 14:53:53 +01:00
Tobias Kunze
e89fa4f7f9 Add PEP8 style empty lines in appropriate places (#321)
New flake8 version finds more (correct) issues.
2016-11-17 11:17:43 +01:00
Raphael Michel
38c4bd454e Translation in reports 2016-11-09 12:08:53 +01:00
Raphael Michel
f25aef5c3c Tax list report 2016-11-09 11:57:13 +01:00
Raphael Michel
0b167aaa2c Deprecate PluginType 2016-11-03 11:33:44 +01:00
Flavia Bastos
8ef6439c44 Unify spelling of 'canceled'
Issue 187
Remove typeahead JS file.
2016-09-21 10:35:41 -06:00
Raphael Michel
d8f81955ba Changed order overview columns to increase usefulness 2016-09-04 22:57:42 +02:00
Raphael Michel
8dec1abf12 Fixed and simplified PDF exports 2015-10-11 19:50:08 +02:00
Raphael Michel
2e9157cbef Removed unused imports 2015-10-05 11:24:00 +02:00
Raphael Michel
9ecd16c19c Refs #44 -- Added background queue support for file export 2015-09-15 22:56:02 +02:00
Raphael Michel
79410cdb0d Added payment method fees to order overview 2015-09-09 10:34:36 +02:00
Raphael Michel
1b65d3cfaf Added PDF exporter for the order overview 2015-09-08 23:45:29 +02:00