Commit Graph
34 Commits
Author SHA1 Message Date
Raphael Michel f70eb95346 Hide quota options when creating a product with variations 2017-08-01 21:05:38 +02:00
Raphael Michel f43d782b5c Hide quota options during product creation for event series 2017-07-27 15:14:28 +02:00
ClintandRaphael Michel 4293ec3805 Fix #475 -- add to existing quota / add new quota from product form (#562)
* added fields and logic for adding quota in creation of product

* added section for selecting quota option

* logic for hiding quota selections when needed

* fixed logic for quota selection

* formatting, removed print statements

* styling

* tests for adding quotas in product form

* cleaned up

* added divs

* reworked to include translatable text, readable values for quota options

* quota_add_existing form assignment to str(q.pk)

* made changes for radio buttons, added in sliding animation

* moved string constants for quota options, changed quota options to RadioSelect from Select
2017-07-26 13:41:23 +02:00
Raphael Michel c1158c3175 Allow to mark add-ons as "included" in price 2017-07-12 18:42:09 +02:00
Raphael MichelandGitHub 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 396c558b25 Fix critical bug in item creation 2017-05-17 15:47:35 +02:00
Raphael Michel d389e4390f Add variation descriptions and allow to order addons 2017-05-02 00:12:22 +02:00
Raphael Michel f639d2aa57 Include category in ItemCreateForm 2017-04-21 14:35:45 +02:00
Raphael Michel b52f2f5a9e Improve add-on products 2017-04-17 14:54:15 +02:00
Raphael Michel 5f52963ce0 Add add-on products 2017-04-17 14:54:15 +02:00
Raphael Michel 3c59a870e7 Add new option Item.min_per_order 2017-04-13 14:16:23 +02:00
Raphael Michel 69faab01b2 Add constraint for a maximum number of a ticket per order 2017-03-24 17:11:48 +01:00
Raphael MichelandGitHub 8b7d2314b8 Use django-i18nfield library (#418) 2017-02-27 21:16:28 +01:00
Adam K. SumnerandRaphael Michel 8661bfe4a4 Fix #386 -- Allow to copy products (#396)
* add copy item info functionality

* fix formatting

* Revert "fix formatting"

This reverts commit 779bd79e8b.

* Revert "add copy item info functionality"

This reverts commit dbec76bf5a.

* add copy functionality

* copy questions from item

* add copy functionality

* copy questions from item

* add copy functionality

* copy questions from item
2017-02-08 10:16:18 +01:00
Raphael Michel 4fbad2d360 Fixed a bug while editing variations 2017-01-02 21:13:44 +01:00
Raphael Michel 1af09509ff Prevent deletion of ordered variations 2016-12-14 13:39:01 +01:00
Raphael Michel f79e1adf25 Fix #55 -- Datetime picker for input fields 2016-09-17 22:33:39 +02:00
Enrique SaezandRaphael Michel 841cfe52a2 Fix #91 -- Make products/orders that are not cancelable (#204)
* Make products/orders that are not cancellable
Update Unit Tests

* Make use of select_related instead of prefetch_related
Simplify cancellable logic
Migrations

* Simplify cancellable logic
Maske use of select_related instead of prefetch_related

* Fix cancelable condition bug
2016-09-01 08:55:02 +02:00
Raphael Michel f91c95b1bc Added products that require a voucher to be bought/shown 2016-07-28 19:52:07 +02:00
Raphael Michel c9350dde40 Use a simpler form for creating items 2016-05-07 16:30:55 +02:00
Raphael Michel 765ae39fa0 Added descriptions to item categories 2016-04-21 21:48:53 +02:00
Raphael Michel 1cd0c1f53b Refs #102 -- Added multiple-choice question types 2016-03-26 12:47:44 +01:00
Raphael Michel 112a309a0e Fixed #106 -- added pay-what-you-want tickets 2016-03-24 18:01:09 +01:00
Raphael Michel bd557ee719 Fixed that has_variations checkbox was required 2016-03-12 11:04:22 +01:00
Raphael Michel ad3eb59e6a Fixed #86 -- Decide about variations at product creation 2016-03-10 22:18:53 +01:00
Raphael Michel f748752391 Removed multi-dimensional item variations [backwards-incompatible] 2015-12-13 15:03:56 +01:00
Raphael Michel d133d2abff Removed CleanerVersion layer [backwards-incompatible!] 2015-12-12 13:08:33 +01:00
Raphael Michel e70485e7fb Re-added the ability to restrict a product sale by time 2015-12-06 18:18:54 +01:00
Raphael Michel 974c5cee79 Moved property to the inside of items 2015-10-08 12:45:19 +02:00
Raphael Michel e6767afbd1 Moved question<>item relation to the question side
Cleared migration history
2015-10-06 00:00:38 +02:00
Raphael Michel 0cbf9aeec3 Added product pictures 2015-07-25 23:58:02 +02:00
Raphael Michel e828d711bd Used isort to order all import statements 2015-07-19 20:46:34 +02:00
Raphael Michel a0aa65e392 Fixed versioning in the Quota admin 2015-06-21 22:25:28 +02:00
Raphael Michel 423dc9f0aa Refactor: separate forms from view, improve code style 2015-06-03 13:19:59 +02:00