artfully_ose 1.2.0.beta.1 → 1.2.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +9 -9
- data/app/assets/fonts/FontAwesome.otf +0 -0
- data/app/assets/fonts/fontawesome-webfont.eot +0 -0
- data/app/assets/fonts/fontawesome-webfont.svg +252 -472
- data/app/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/app/assets/fonts/fontawesome-webfont.woff +0 -0
- data/app/assets/images/person-default-avatar.psd +0 -0
- data/app/assets/javascripts/application.js +10 -163
- data/app/assets/javascripts/box-office.js +262 -0
- data/app/assets/javascripts/custom/inline-people-search.js +40 -40
- data/app/assets/javascripts/custom/people.js +5 -68
- data/app/assets/javascripts/custom/prices.js +0 -1
- data/app/assets/javascripts/custom/show.js +8 -18
- data/app/assets/javascripts/jquery-lib/jquery.mask-money.js +0 -1
- data/app/assets/javascripts/locationselector.js +1 -1
- data/app/assets/javascripts/store/jquery.validate.additional-methods.js +159 -476
- data/app/assets/javascripts/store/jquery.validate.js +406 -449
- data/app/assets/javascripts/store/store.js +5 -29
- data/app/assets/stylesheets/application.sass +60 -223
- data/app/assets/stylesheets/bootstrap-overrides.css +3 -13
- data/app/assets/stylesheets/bootstrap.css +0 -1
- data/app/assets/stylesheets/font-awesome.sass +759 -0
- data/app/assets/stylesheets/sass/_event_list.sass +1 -12
- data/app/assets/stylesheets/sass/_tags.sass +2 -13
- data/app/assets/stylesheets/sass/box-office.sass +1 -2
- data/app/assets/stylesheets/sass/cart.sass +6 -0
- data/app/assets/stylesheets/sass/store.sass +68 -123
- data/app/assets/stylesheets/storefront.css +1 -2
- data/app/concerns/itemable.rb +1 -1
- data/app/controllers/artfully_ose_controller.rb +7 -29
- data/app/controllers/discounts_controller.rb +1 -8
- data/app/controllers/events_controller.rb +33 -41
- data/app/controllers/exchanges_controller.rb +2 -8
- data/app/controllers/export_controller.rb +0 -6
- data/app/controllers/imports_controller.rb +0 -19
- data/app/controllers/members/index_controller.rb +1 -1
- data/app/controllers/members/members_controller.rb +1 -6
- data/app/controllers/membership_awards_controller.rb +58 -0
- data/app/controllers/membership_types_controller.rb +3 -40
- data/app/controllers/memberships_controller.rb +4 -6
- data/app/controllers/orders_controller.rb +2 -86
- data/app/controllers/organizations_controller.rb +3 -4
- data/app/controllers/people_controller.rb +23 -54
- data/app/controllers/refunds_controller.rb +7 -7
- data/app/controllers/sales_controller.rb +28 -67
- data/app/controllers/searches_controller.rb +9 -15
- data/app/controllers/sections_controller.rb +2 -2
- data/app/controllers/segments_controller.rb +4 -4
- data/app/controllers/shows_controller.rb +49 -79
- data/app/controllers/slices_controller.rb +2 -3
- data/app/controllers/statements_controller.rb +1 -1
- data/app/controllers/store/checkouts_controller.rb +3 -8
- data/app/controllers/store/donations_controller.rb +1 -19
- data/app/controllers/store/events_controller.rb +1 -14
- data/app/controllers/store/memberships_controller.rb +1 -12
- data/app/controllers/store/orders_controller.rb +17 -36
- data/app/controllers/store/passes_controller.rb +0 -9
- data/app/controllers/store/store_controller.rb +2 -7
- data/app/controllers/tickets_controller.rb +2 -2
- data/app/helpers/artfully_ose_helper.rb +21 -79
- data/app/helpers/link_helper.rb +2 -12
- data/app/mailers/order_mailer.rb +1 -28
- data/app/mailers/reports_mailer.rb +4 -5
- data/app/models/ability.rb +0 -1
- data/app/models/action.rb +1 -1
- data/app/models/actions/go_action.rb +2 -3
- data/app/{concerns → models/actions}/immutable_action.rb +0 -0
- data/app/models/address.rb +11 -32
- data/app/models/{cart.rb → carts/cart.rb} +37 -46
- data/app/models/carts/cart_finder.rb +33 -0
- data/app/models/checkout.rb +41 -85
- data/app/models/comp.rb +17 -24
- data/app/models/company.rb +1 -1
- data/app/models/contribution.rb +0 -1
- data/app/models/database_views/item_view.rb +28 -169
- data/app/models/database_views/order_view.rb +34 -0
- data/app/models/donation.rb +0 -4
- data/app/models/door_list.rb +3 -6
- data/app/models/event.rb +10 -60
- data/app/models/exchange.rb +5 -7
- data/app/models/{ext.rb → ext/ext.rb} +1 -14
- data/app/models/ext/integrations.rb +21 -39
- data/app/models/fee_strategy.rb +1 -47
- data/app/models/import.rb +2 -22
- data/app/models/imports/donations_import.rb +19 -1
- data/app/models/imports/events_import.rb +51 -43
- data/app/models/individual.rb +1 -3
- data/app/models/item.rb +11 -28
- data/app/models/job/daily_email_report_job.rb +6 -20
- data/app/models/job/mailchimp_sync_job.rb +3 -1
- data/app/models/job/order_processor.rb +12 -78
- data/app/models/job/show_creator.rb +3 -8
- data/app/models/kit.rb +4 -2
- data/app/models/kits/mailchimp_kit.rb +10 -18
- data/app/models/kits/regular_donation_kit.rb +8 -38
- data/app/models/member.rb +17 -152
- data/app/models/membership.rb +23 -59
- data/app/models/membership_award.rb +23 -0
- data/app/models/membership_type.rb +2 -44
- data/app/models/note.rb +1 -1
- data/app/models/order_handler.rb +39 -100
- data/app/models/orders/comp_order.rb +0 -4
- data/app/models/orders/imported_order.rb +0 -4
- data/app/models/{order.rb → orders/order.rb} +18 -113
- data/app/models/orders/refund_order.rb +0 -4
- data/app/{concerns → models/orders}/unrefundable.rb +0 -0
- data/app/models/organization.rb +15 -55
- data/app/models/organization_ability.rb +0 -1
- data/app/models/parsed_row.rb +3 -58
- data/app/models/payments/cash_payment.rb +1 -3
- data/app/models/payments/comp_payment.rb +1 -3
- data/app/models/payments/credit_card_payment.rb +23 -44
- data/app/models/{payment.rb → payments/payment.rb} +1 -29
- data/app/models/person.rb +36 -140
- data/app/models/phone.rb +8 -0
- data/app/models/refund.rb +2 -5
- data/app/models/sale.rb +10 -14
- data/app/models/sale_search.rb +21 -3
- data/app/models/search.rb +67 -320
- data/app/models/section.rb +2 -18
- data/app/models/show.rb +20 -67
- data/app/models/slices.rb +8 -25
- data/app/models/statement.rb +5 -32
- data/app/models/ticket.rb +15 -50
- data/app/models/ticket/locker.rb +1 -2
- data/app/models/ticket/pricing.rb +1 -11
- data/app/models/ticket/reports.rb +0 -16
- data/app/models/ticket/sale_transitions.rb +0 -4
- data/app/models/ticket/template.rb +0 -1
- data/app/models/ticket/transfers.rb +2 -12
- data/app/models/ticket_summary.rb +1 -7
- data/app/models/ticket_type.rb +7 -59
- data/app/models/user.rb +5 -18
- data/app/models/user_membership.rb +3 -21
- data/app/models/valuation/lifetime_ticket_value.rb +1 -1
- data/app/models/venue.rb +7 -21
- data/app/presenters/event_presenter.rb +1 -1
- data/app/views/actions/_form.html.haml +6 -6
- data/app/views/actions/get/_show.html.haml +13 -2
- data/app/views/actions/give/_show.html.haml +1 -1
- data/app/views/actions/shared/_show.html.haml +1 -1
- data/app/views/addresses/_address.html.haml +6 -7
- data/app/views/contributions/_form.html.haml +1 -1
- data/app/views/contributions/index.html.haml +2 -2
- data/app/views/discounts/_discount_section_fields.html.haml +1 -1
- data/app/views/discounts/_form.html.haml +1 -1
- data/app/views/discounts/index.html.haml +1 -1
- data/app/views/events/_day_date_show.html.haml +2 -2
- data/app/views/events/_discount_section_fields.html.haml +1 -1
- data/app/views/events/_header.html.haml +0 -1
- data/app/views/events/_list.html.haml +5 -10
- data/app/views/events/_menu.html.haml +15 -6
- data/app/views/events/_section_fields.html.haml +1 -1
- data/app/views/events/_share_and_sell.haml +2 -3
- data/app/views/events/_ticket_type_fields.html.haml +4 -43
- data/app/views/events/edit.html.haml +1 -6
- data/app/views/events/image.html.haml +1 -2
- data/app/views/events/index.html.haml +3 -20
- data/app/views/events/show.html.haml +1 -3
- data/app/views/events/temp_discount_form.html.haml +1 -1
- data/app/views/events/temp_discounts_index.html.haml +1 -1
- data/app/views/exchanges/new.html.haml +28 -51
- data/app/views/imports/donations/_pending.html.haml +1 -1
- data/app/views/imports/events/_pending.html.haml +1 -1
- data/app/views/imports/index.html.haml +3 -6
- data/app/views/imports/people/_imported.html.haml +2 -2
- data/app/views/imports/people/_new.html.haml +8 -20
- data/app/views/imports/people/_pending.html.haml +2 -2
- data/app/views/imports/people/_recalled.html.haml +1 -1
- data/app/views/imports/shared/_sidebar.html.haml +1 -1
- data/app/views/index/dashboard.html.haml +4 -4
- data/app/views/layouts/_flash.html.haml +3 -3
- data/app/views/layouts/_google_analytics.html.haml +2 -5
- data/app/views/layouts/_menu.html.haml +5 -9
- data/app/views/layouts/application.html.haml +2 -2
- data/app/views/layouts/devise_layout.html.haml +2 -2
- data/app/views/layouts/members.html.haml +1 -1
- data/app/views/layouts/storefront.html.haml +15 -27
- data/app/views/members/index/index.html.haml +13 -7
- data/app/views/membership_awards/confirm.html.haml +59 -0
- data/app/views/membership_awards/create.html.haml +1 -0
- data/app/views/membership_awards/new.html.haml +74 -0
- data/app/views/membership_types/_form.html.haml +19 -67
- data/app/views/membership_types/index.html.haml +14 -15
- data/app/views/memberships/index.html.haml +50 -116
- data/app/views/merges/find_person.html.haml +1 -1
- data/app/views/notes/_note.html.haml +4 -4
- data/app/views/order_mailer/confirmation_for.html.haml +21 -33
- data/app/views/order_mailer/confirmation_for.text.haml +3 -6
- data/app/views/orders/_item_table.haml +8 -25
- data/app/views/orders/_order_sidebar.html.haml +4 -2
- data/app/views/orders/sales.html.haml +3 -3
- data/app/views/organizations/_connection_form.html.haml +1 -1
- data/app/views/organizations/_form.html.haml +20 -25
- data/app/views/organizations/edit.html.haml +2 -2
- data/app/views/organizations/show.html.haml +16 -22
- data/app/views/people/_edit_modal.html.haml +28 -48
- data/app/views/people/_header.html.haml +9 -18
- data/app/views/people/_phone_fields.html.haml +1 -1
- data/app/views/people/index.html.haml +6 -18
- data/app/views/people/new.html.haml +1 -1
- data/app/views/people/show.html.haml +24 -71
- data/app/views/refunds/new.html.haml +27 -45
- data/app/views/reports_mailer/daily.html.haml +21 -86
- data/app/views/sales/new.html.haml +125 -33
- data/app/views/searches/_form.html.haml +50 -115
- data/app/views/searches/_person.html.haml +2 -5
- data/app/views/searches/new.html.haml +1 -1
- data/app/views/searches/show.html.haml +6 -17
- data/app/views/segments/show.html.haml +4 -7
- data/app/views/shared/_error_messages.html.haml +1 -1
- data/app/views/shared/_tags.html.haml +2 -2
- data/app/views/shows/_controls.html.haml +20 -4
- data/app/views/shows/_glance.html.haml +5 -1
- data/app/views/shows/_sections_table.html.haml +6 -8
- data/app/views/shows/_ticket_table.html.haml +3 -3
- data/app/views/shows/_work_with.html.haml +5 -5
- data/app/views/shows/door_list.html.haml +2 -2
- data/app/views/shows/index.html.haml +19 -88
- data/app/views/shows/new.html.haml +11 -10
- data/app/views/shows/show.html.haml +2 -2
- data/app/views/slices/index.html.haml +1 -2
- data/app/views/statements/_discounts_table.html.haml +1 -1
- data/app/views/statements/_order_location_table.html.haml +1 -1
- data/app/views/statements/_payment_method_table.haml +1 -1
- data/app/views/statements/_ticket_type_table.haml +2 -5
- data/app/views/statements/show.html.haml +2 -5
- data/app/views/store/checkouts/thanks.html.haml +16 -38
- data/app/views/store/donations/index.html.haml +2 -19
- data/app/views/store/events/_calendar.html.haml +4 -1
- data/app/views/store/events/index.html.haml +4 -11
- data/app/views/store/events/show.html.haml +19 -10
- data/app/views/store/memberships/index.html.haml +17 -17
- data/app/views/store/orders/show.html.haml +22 -33
- data/app/views/store/shared/_donate_form.html.haml +12 -31
- data/app/views/store/shows/_show.html.haml +29 -37
- data/app/views/user_memberships/_list.html.haml +29 -28
- data/app/views/users/invitations/edit.html.haml +9 -19
- data/app/views/users/mailer/invitation_instructions.html.erb +8 -0
- data/app/views/users/passwords/edit.html.haml +2 -2
- data/app/views/users/registrations/edit.html.erb +3 -3
- data/app/views/users/sessions/new.html.haml +2 -2
- data/app/views/venues/edit.html.haml +1 -3
- data/config/initializers/devise.rb +5 -2
- data/config/locales/devise.en.yml +1 -1
- data/config/locales/devise_invitable.en.yml +1 -1
- data/config/locales/en.yml +3 -18
- data/config/routes.rb +12 -101
- data/lib/artfully_ose.rb +4 -6
- data/lib/artfully_ose/common_abilities.rb +2 -8
- data/lib/artfully_ose/engine.rb +10 -34
- data/lib/artfully_ose/version.rb +1 -1
- metadata +45 -349
- data/README.md +0 -28
- data/app/assets/images/household-default-avatar.png +0 -0
- data/app/assets/javascripts/angular-resource.js +0 -546
- data/app/assets/javascripts/angular.js +0 -20311
- data/app/assets/javascripts/bootstrap-wysihtml5.js +0 -511
- data/app/assets/javascripts/boxoffice.js +0 -558
- data/app/assets/javascripts/change-membership.js +0 -152
- data/app/assets/javascripts/custom/kits-config.js +0 -33
- data/app/assets/javascripts/households.js +0 -59
- data/app/assets/javascripts/jquery-migrate-1.2.1.min.js +0 -2
- data/app/assets/javascripts/relationships.js +0 -63
- data/app/assets/javascripts/sales-console.js +0 -158
- data/app/assets/javascripts/wysihtml5-0.3.0.min.js +0 -261
- data/app/assets/stylesheets/bootstrap-wysihtml5.css +0 -102
- data/app/assets/stylesheets/boxoffice.css.scss +0 -258
- data/app/assets/stylesheets/font-awesome.css.scss +0 -1566
- data/app/assets/stylesheets/pages/bootstrap-responsive.css +0 -1109
- data/app/assets/stylesheets/wysiwyg-color.css +0 -67
- data/app/concerns/cart_finder.rb +0 -50
- data/app/concerns/pdf_generation.rb +0 -64
- data/app/concerns/search_by_dates.rb +0 -20
- data/app/controllers/console_sales_controller.rb +0 -182
- data/app/controllers/events_pass_types_controller.rb +0 -87
- data/app/controllers/households_controller.rb +0 -71
- data/app/controllers/member_cards_controller.rb +0 -44
- data/app/controllers/members/invitations_controller.rb +0 -7
- data/app/controllers/members/passwords_controller.rb +0 -10
- data/app/controllers/members/people_controller.rb +0 -17
- data/app/controllers/members/sessions_controller.rb +0 -14
- data/app/controllers/membership_cancellations_controller.rb +0 -46
- data/app/controllers/membership_changes_controller.rb +0 -39
- data/app/controllers/membership_comps_controller.rb +0 -102
- data/app/controllers/membership_kits_controller.rb +0 -25
- data/app/controllers/mobile/dashboard_controller.rb +0 -17
- data/app/controllers/mobile/events_controller.rb +0 -16
- data/app/controllers/mobile/orders_controller.rb +0 -61
- data/app/controllers/mobile/shows_controller.rb +0 -39
- data/app/controllers/mobile/tickets_controller.rb +0 -114
- data/app/controllers/mobile/users_controller.rb +0 -30
- data/app/controllers/pass_types_controller.rb +0 -53
- data/app/controllers/passes_controller.rb +0 -52
- data/app/controllers/passes_kits_controller.rb +0 -25
- data/app/controllers/passes_reports_controller.rb +0 -25
- data/app/controllers/regular_donation_kits_controller.rb +0 -32
- data/app/controllers/relationships_controller.rb +0 -15
- data/app/controllers/store/retrievals_controller.rb +0 -29
- data/app/controllers/users/sessions_controller.rb +0 -3
- data/app/helpers/households_helper.rb +0 -7
- data/app/helpers/membership_types_helper.rb +0 -22
- data/app/helpers/relationships_helper.rb +0 -26
- data/app/helpers/sales_helper.rb +0 -29
- data/app/helpers/searches_helper.rb +0 -13
- data/app/helpers/suggested_households_helper.rb +0 -5
- data/app/mailers/pass_mailer.rb +0 -17
- data/app/models/actions/change_action.rb +0 -13
- data/app/models/actions/comp_action.rb +0 -15
- data/app/models/console_sale.rb +0 -30
- data/app/models/daily_membership_report.rb +0 -50
- data/app/models/daily_pass_report.rb +0 -48
- data/app/models/events_pass_type.rb +0 -18
- data/app/models/ext/preprocessor.rb +0 -7
- data/app/models/extendable.rb +0 -6
- data/app/models/household.rb +0 -61
- data/app/models/household_suggester.rb +0 -58
- data/app/models/imports/memberships_import.rb +0 -43
- data/app/models/job/checkout_processor.rb +0 -46
- data/app/models/job/cleanup_suggested_households_job.rb +0 -17
- data/app/models/job/destroy_show_job.rb +0 -10
- data/app/models/job/geocode_address_job.rb +0 -11
- data/app/models/job/order_mailer_job.rb +0 -8
- data/app/models/job/refund_order_processor.rb +0 -16
- data/app/models/kits/membership_kit.rb +0 -62
- data/app/models/kits/passes_kit.rb +0 -62
- data/app/models/kits/scannable_tickets_kit.rb +0 -23
- data/app/models/member_card_generator.rb +0 -63
- data/app/models/member_walkup.rb +0 -150
- data/app/models/membership_cancellation.rb +0 -80
- data/app/models/membership_change.rb +0 -187
- data/app/models/membership_comp.rb +0 -105
- data/app/models/membership_comp_job.rb +0 -32
- data/app/models/membership_sale_search.rb +0 -18
- data/app/models/pass.rb +0 -197
- data/app/models/pass_sale_search.rb +0 -18
- data/app/models/pass_summary.rb +0 -18
- data/app/models/pass_type.rb +0 -46
- data/app/models/passes_report.rb +0 -117
- data/app/models/payments/check_payment.rb +0 -33
- data/app/models/relation.rb +0 -27
- data/app/models/relation_builder.rb +0 -32
- data/app/models/relationship.rb +0 -55
- data/app/models/relationship_builder.rb +0 -12
- data/app/models/relationship_validator.rb +0 -46
- data/app/models/relationships_kit.rb +0 -31
- data/app/models/rolling_membership_type.rb +0 -11
- data/app/models/seasonal_membership_type.rb +0 -3
- data/app/models/suggested_household.rb +0 -24
- data/app/models/ticket/qr_code.rb +0 -21
- data/app/models/valuation/lifetime_memberships.rb +0 -24
- data/app/serializers/show_serializer.rb +0 -15
- data/app/views/console_sales/_aloha.html.haml +0 -26
- data/app/views/console_sales/_cart.html.haml +0 -60
- data/app/views/console_sales/_payment.html.haml +0 -111
- data/app/views/console_sales/_shows.html.haml +0 -24
- data/app/views/console_sales/new.html.haml +0 -143
- data/app/views/events_pass_types/_form.html.haml +0 -42
- data/app/views/events_pass_types/edit.html.haml +0 -22
- data/app/views/events_pass_types/index.html.haml +0 -47
- data/app/views/events_pass_types/new.html.haml +0 -22
- data/app/views/households/_action.html.haml +0 -24
- data/app/views/households/_edit_modal.html.haml +0 -143
- data/app/views/households/_form.html.haml +0 -26
- data/app/views/households/_header.html.haml +0 -25
- data/app/views/households/_individual_fields.html.haml +0 -8
- data/app/views/households/_list.html.haml +0 -10
- data/app/views/households/_note.html.haml +0 -33
- data/app/views/households/edit.html.haml +0 -1
- data/app/views/households/index.html.haml +0 -13
- data/app/views/households/new.html.haml +0 -14
- data/app/views/households/show.html.haml +0 -72
- data/app/views/households/suggested.html.haml +0 -38
- data/app/views/imports/_export_links.html.haml +0 -3
- data/app/views/kits/_list.html.haml +0 -9
- data/app/views/members/invitations/edit.html.haml +0 -17
- data/app/views/members/invitations/new.html.erb +0 -14
- data/app/views/members/mailer/_invitation_body.html.haml +0 -18
- data/app/views/members/mailer/invitation_instructions.html.haml +0 -6
- data/app/views/members/mailer/reset_password_instructions.html.erb +0 -8
- data/app/views/members/passwords/edit.html.haml +0 -18
- data/app/views/members/sessions/new.html.haml +0 -19
- data/app/views/membership_cancellations/_form.html.haml +0 -39
- data/app/views/membership_cancellations/_modal.html.haml +0 -2
- data/app/views/membership_cancellations/_processing.html.haml +0 -12
- data/app/views/membership_cancellations/create.js.erb +0 -3
- data/app/views/membership_cancellations/new.js.erb +0 -3
- data/app/views/membership_comps/confirm.html.haml +0 -86
- data/app/views/membership_comps/create.html.haml +0 -20
- data/app/views/membership_comps/new.html.haml +0 -95
- data/app/views/membership_kits/edit.html.haml +0 -52
- data/app/views/membership_mailer/cancellation_confirmation.html.haml +0 -9
- data/app/views/membership_mailer/cancellation_confirmation.text.haml +0 -6
- data/app/views/membership_mailer/refund_problem.html.haml +0 -18
- data/app/views/membership_mailer/refund_problem.text.haml +0 -14
- data/app/views/membership_types/_membership_type_fees.html.haml +0 -0
- data/app/views/membership_types/_rolling_membership_type_form.html.haml +0 -5
- data/app/views/membership_types/_seasonal_membership_type_form.html.haml +0 -8
- data/app/views/membership_types/type.html.haml +0 -19
- data/app/views/memberships/_membership_scripts.js.erb +0 -15
- data/app/views/order_mailer/confirmation_for_exchange.html.haml +0 -34
- data/app/views/order_mailer/confirmation_for_exchange.text.haml +0 -26
- data/app/views/order_mailer/confirmation_for_refund.html.haml +0 -36
- data/app/views/order_mailer/confirmation_for_refund.text.haml +0 -22
- data/app/views/orders/membership.html.haml +0 -100
- data/app/views/orders/passes.html.haml +0 -97
- data/app/views/pass_mailer/pass_info_for.html.haml +0 -21
- data/app/views/pass_types/_form.html.haml +0 -76
- data/app/views/pass_types/_pass_type_fees.html.haml +0 -0
- data/app/views/pass_types/edit.html.haml +0 -4
- data/app/views/pass_types/index.html.haml +0 -34
- data/app/views/pass_types/new.html.haml +0 -4
- data/app/views/passes/index.html.haml +0 -108
- data/app/views/passes_kits/edit.html.haml +0 -30
- data/app/views/passes_reports/index.html.haml +0 -80
- data/app/views/pdfs/member.html.haml +0 -66
- data/app/views/pdfs/member_card_generator/blanks_usa_idc6.html.haml +0 -109
- data/app/views/pdfs/order.html.haml +0 -84
- data/app/views/people/_household_fields.html.haml +0 -5
- data/app/views/people/_relationship_fields.html.haml +0 -14
- data/app/views/people/_work_with_menu.html.haml +0 -39
- data/app/views/producer_mailer/donation_kit_notification.html.haml +0 -8
- data/app/views/producer_mailer/donation_kit_notification.text.erb +0 -8
- data/app/views/producer_mailer/mailchimp_kit_initial_sync_notification.html.haml +0 -21
- data/app/views/producer_mailer/ticket_offer_accepted.html.haml +0 -7
- data/app/views/producer_mailer/ticket_offer_accepted.text.erb +0 -7
- data/app/views/producer_mailer/ticket_offer_rejected.html.haml +0 -11
- data/app/views/producer_mailer/ticket_offer_rejected.text.erb +0 -13
- data/app/views/regular_donation_kits/edit.html.haml +0 -140
- data/app/views/relationships/index.html.haml +0 -32
- data/app/views/sales/_boxoffice.html.haml +0 -141
- data/app/views/sales/_doorlist.html.haml +0 -79
- data/app/views/searches/_household.html.haml +0 -7
- data/app/views/shared/_show_time_and_calendar.html.haml +0 -21
- data/app/views/shows/door_list.pdf.haml +0 -29
- data/app/views/statements/_passes_table.html.haml +0 -22
- data/app/views/store/checkouts/_membership_info.html.haml +0 -12
- data/app/views/store/events/_venue.html.haml +0 -9
- data/app/views/store/events/calendar.html.haml +0 -50
- data/app/views/store/events/single_show.html.haml +0 -45
- data/app/views/store/passes/index.html.haml +0 -33
- data/app/views/store/retrievals/index.html.haml +0 -11
- data/app/views/store/shared/_small_donate_form.html.haml +0 -21
- data/app/views/users/mailer/invitation_instructions.html.haml +0 -14
- data/config/initializers/paperclip.rb +0 -69
- data/db/migrate/20130411162346_add_country_zip_state_phone_number_discipline_to_organizations.rb +0 -9
- data/db/migrate/20130412184415_add_first_name_and_last_name_to_users.rb +0 -6
- data/db/migrate/20130722153731_add_autentication_token_to_users.rb +0 -5
- data/db/migrate/20130723212712_add_qr_code_to_tickets.rb +0 -9
- data/db/migrate/20130820011240_add_uuid_to_tickets.rb +0 -13
- data/db/migrate/20130820025134_make_ticket_uuid_not_null.rb +0 -11
- data/db/migrate/20130823191625_add_pdf_to_orders.rb +0 -5
- data/db/migrate/20130916194547_add_relationships.rb +0 -21
- data/db/migrate/20131002191646_create_show_stats_view.rb +0 -16
- data/db/migrate/20131003134821_add_relationships_to_search.rb +0 -7
- data/db/migrate/20131003200508_add_starred_to_relationships.rb +0 -5
- data/db/migrate/20131007141421_add_counters_to_member.rb +0 -7
- data/db/migrate/20131007144456_remove_expires_at_from_membership.rb +0 -6
- data/db/migrate/20131011154027_add_purchased_to_searches.rb +0 -5
- data/db/migrate/20131013144010_add_type_to_membership_type.rb +0 -5
- data/db/migrate/20131013150230_add_duration_to_membership_type.rb +0 -6
- data/db/migrate/20131013192807_change_number_of_shows_to_tickets.rb +0 -5
- data/db/migrate/20131015151550_add_households.rb +0 -18
- data/db/migrate/20131022183913_add_search_output_options.rb +0 -24
- data/db/migrate/20131023200559_add_admin_to_user_memberships.rb +0 -14
- data/db/migrate/20131025162155_default_search_filter_values.rb +0 -10
- data/db/migrate/20131025180139_unique_household_names.rb +0 -8
- data/db/migrate/20131029173612_add_sales_start_to_membership_typ.rb +0 -6
- data/db/migrate/20131106191847_add_suggested_households.rb +0 -13
- data/db/migrate/20131127162818_add_buyer_id_index_to_tickets.rb +0 -5
- data/db/migrate/20131127164000_member_tickets.rb +0 -9
- data/db/migrate/20131204162642_add_shared_address.rb +0 -9
- data/db/migrate/20131206153323_add_membership_kit.rb +0 -5
- data/db/migrate/20131206175325_add_marketing_to_membership_type.rb +0 -6
- data/db/migrate/20131210212342_add_show_fee_to_memberhsip_type.rb +0 -5
- data/db/migrate/20131210222814_add_renewal_price_to_membership_type.rb +0 -6
- data/db/migrate/20131212164553_add_copy_to_individuals_option.rb +0 -5
- data/db/migrate/20131223215615_goodbye_order_view.rb +0 -6
- data/db/migrate/20140114011856_add_welcome_message_to_memberships.rb +0 -5
- data/db/migrate/20140114212127_add_send_email_to_memberships.rb +0 -5
- data/db/migrate/20140125183606_index_memberships_and_types.rb +0 -6
- data/db/migrate/20140128213101_add_pdf_to_members.rb +0 -5
- data/db/migrate/20140128223140_add_uuid_to_member.rb +0 -6
- data/db/migrate/20140128223948_add_qr_code_to_member.rb +0 -9
- data/db/migrate/20140207135731_update_items_view.rb +0 -38
- data/db/migrate/20140210154723_add_cached_stats.rb +0 -5
- data/db/migrate/20140218202726_cache_stats.rb +0 -7
- data/db/migrate/20140304171625_passes_ahoy.rb +0 -52
- data/db/migrate/20140304174807_add_passes_kit.rb +0 -5
- data/db/migrate/20140307144454_add_events_pass_types.rb +0 -9
- data/db/migrate/20140307193350_add_pass_id_to_cart.rb +0 -7
- data/db/migrate/20140314162422_add_total_paid_to_membership.rb +0 -13
- data/db/migrate/20140319191237_add_show_dates_to_advanced_search.rb +0 -6
- data/db/migrate/20140328172333_add_cols_to_events_pass_types.rb +0 -6
- data/db/migrate/20140328174217_add_deleted_at_to_ept.rb +0 -9
- data/db/migrate/20140328185432_add_active_to_ept.rb +0 -5
- data/db/migrate/20140328192612_add_pass_type_id_to_search.rb +0 -5
- data/db/migrate/20140415212841_add_min_max_start_dates_to_searches.artfully_ose_engine.rb +0 -6
- data/db/migrate/20140422193345_add_email_copy_to_pass_type.rb +0 -5
- data/db/migrate/20140423181639_add_min_max_end_dates_to_searches.artfully_ose_engine.rb +0 -6
- data/db/migrate/20140423185921_add_cached_stats_to_event.rb +0 -9
- data/db/migrate/20140424174423_add_lifetime_memberships_to_people.artfully_ose_engine.rb +0 -5
- data/db/migrate/20140506155241_add_lpt_to_membership_type.rb +0 -5
- data/db/migrate/20140507184646_add_bday_attributes_to_person.rb +0 -7
- data/db/migrate/20140507201048_add_check_number_to_orders.rb +0 -5
- data/db/migrate/20140515143651_remove_show_stats_view.rb +0 -6
- data/db/migrate/20140521195853_add_deleted_at_to_pass_type.rb +0 -5
- data/db/migrate/20140522205554_add_limit_to_events_pass_types.rb +0 -5
- data/db/migrate/20140523180444_remove_tickets_purchased_from_passes.rb +0 -5
- data/db/migrate/20140603200735_add_subtitle_to_events.rb +0 -5
- data/db/migrate/20140619194127_add_do_not_call_to_people.artfully_ose_engine.rb +0 -5
- data/db/migrate/20140623160543_add_index_to_items.rb +0 -7
- data/spec/factories/action_factories.rb +0 -19
- data/spec/factories/address_factories.rb +0 -11
- data/spec/factories/cart_factories.rb +0 -26
- data/spec/factories/chart_factories.rb +0 -52
- data/spec/factories/discount_factories.rb +0 -11
- data/spec/factories/donation_factories.rb +0 -14
- data/spec/factories/event_factories.rb +0 -29
- data/spec/factories/household_factories.rb +0 -8
- data/spec/factories/import_factories.rb +0 -61
- data/spec/factories/item_factories.rb +0 -51
- data/spec/factories/kit_factories.rb +0 -33
- data/spec/factories/member_factories.rb +0 -19
- data/spec/factories/membership_factories.rb +0 -9
- data/spec/factories/membership_type_factories.rb +0 -18
- data/spec/factories/order_factories.rb +0 -40
- data/spec/factories/organization_factories.rb +0 -48
- data/spec/factories/pass_type_factories.rb +0 -11
- data/spec/factories/payments_factories.rb +0 -97
- data/spec/factories/person_factories.rb +0 -47
- data/spec/factories/phone_factories.rb +0 -6
- data/spec/factories/section_factories.rb +0 -21
- data/spec/factories/segment_factories.rb +0 -6
- data/spec/factories/show_factories.rb +0 -33
- data/spec/factories/ticket_factories.rb +0 -57
- data/spec/factories/ticket_offer_factories.rb +0 -16
- data/spec/factories/ticket_type_factories.rb +0 -8
- data/spec/factories/user_factories.rb +0 -24
@@ -1,79 +0,0 @@
|
|
1
|
-
.row.row-blue-padded
|
2
|
-
.span4.relative
|
3
|
-
.row-blue-padded-left
|
4
|
-
.progress.progress-doorlist
|
5
|
-
.bar.bar-doorlist
|
6
|
-
.span8
|
7
|
-
.row-blue-padded-right
|
8
|
-
.btn-group.download-door-list
|
9
|
-
%a.btn.dropdown-toggle{'data-toggle' => 'dropdown', 'href' => '#'}
|
10
|
-
%i.fa.fa-arrow-circle-down
|
11
|
-
Download Door List
|
12
|
-
%ul.dropdown-menu
|
13
|
-
%li= link_to 'CSV Download', door_list_event_show_path(@event, @show, :format => :csv)
|
14
|
-
%li= link_to 'PDF Download', door_list_event_show_path(@event, @show, :format => :pdf)
|
15
|
-
%span.search-container
|
16
|
-
= search_field_tag :live_search, nil, :placeholder => 'Search Door List', :class => 'span7', :class => 'search-doorlist'
|
17
|
-
|
18
|
-
.row
|
19
|
-
.span4.relative
|
20
|
-
#buyer-details
|
21
|
-
.span8
|
22
|
-
#door-list-table
|
23
|
-
%table#door-list.table
|
24
|
-
%tbody
|
25
|
-
- tickets_grouped_by_buyer = @door_list.items.group_by {|i| i.buyer }.sort_by { |buyer, door_list_items| door_list_sort(buyer) }
|
26
|
-
- tickets_grouped_by_buyer.each do |buyer, door_list_items|
|
27
|
-
- special_instructions = door_list_grouped_attribute(door_list_items, :special_instructions)
|
28
|
-
- order_notes = door_list_grouped_attribute(door_list_items, :notes)
|
29
|
-
%tr.buyer{'data-buyer-id' => buyer.id, :id => "buyer-#{buyer.id}", 'data-search-blob' => "#{buyer.first_name} #{buyer.last_name} #{special_instructions} #{order_notes}"}
|
30
|
-
%td
|
31
|
-
%h4
|
32
|
-
- if door_list_items.select {|d| !d.ticket.validated? }.empty?
|
33
|
-
%i.remaining-ticket-indicator.fa.fa-circle
|
34
|
-
- elsif door_list_items.select {|d| d.ticket.validated? }.any?
|
35
|
-
%i.remaining-ticket-indicator.fa.fa-adjust
|
36
|
-
- else
|
37
|
-
%i.remaining-ticket-indicator.fa.fa-circle-o
|
38
|
-
= door_list_name_and_company(buyer)
|
39
|
-
- if special_instructions.present? || order_notes.present?
|
40
|
-
%i.fa.fa-file
|
41
|
-
%td.buyer-ticket-count
|
42
|
-
%strong= door_list_items.length
|
43
|
-
ticket#{'s' unless door_list_items.length == 1}
|
44
|
-
%td.buyer-total
|
45
|
-
- amount = door_list_items.map {|d| d.ticket.sold_price }.inject(:+)
|
46
|
-
= number_as_cents(amount, cents_if_needed:true)
|
47
|
-
%br
|
48
|
-
= door_list_items.map {|d| d.payment_method }.uniq.to_sentence
|
49
|
-
.buyer-details-hidden{:style => 'display:none;', :id => "buyer-details-#{buyer.id}"}
|
50
|
-
%h1= link_to buyer.to_s, buyer
|
51
|
-
.content
|
52
|
-
%ul
|
53
|
-
- door_list_items.sort_by {|d| d.ticket.ticket_type }.each do |door_list_item|
|
54
|
-
%li
|
55
|
-
%p
|
56
|
-
%label.lead
|
57
|
-
= check_box_tag "validated", "validated", door_list_item.ticket.validated, :class => 'door-list-checkbox', 'data-ticket-id' => door_list_item.ticket.id, 'data-buyer-id' => buyer.id
|
58
|
-
%strong
|
59
|
-
= door_list_item.ticket.ticket_type.name
|
60
|
-
= number_as_cents(door_list_item.ticket.sold_price, cents_if_needed:true)
|
61
|
-
= door_list_item.payment_method
|
62
|
-
%p
|
63
|
-
-# We don't modify tickets after the show date, so there's the posibility that the
|
64
|
-
-# ticket can be refunded after the show. The ticket remains "sold" but has no sold_item
|
65
|
-
-# and it appears to the door list that it has no order. This is why we
|
66
|
-
-# .select on the end of this statement.
|
67
|
-
- order_ids = door_list_items.collect(&:order_id).uniq.select{|order| order.present?}
|
68
|
-
%strong.muted Order#{'s' if order_ids.count > 1}:
|
69
|
-
= safe_join(order_ids.map{|o| link_to o, order_path(o)}, ', ')
|
70
|
-
|
71
|
-
- if special_instructions.present?
|
72
|
-
%p
|
73
|
-
%strong.muted Special Instructions:
|
74
|
-
= special_instructions
|
75
|
-
|
76
|
-
- if order_notes.present?
|
77
|
-
%p
|
78
|
-
%strong.muted Notes:
|
79
|
-
= order_notes
|
@@ -1,21 +0,0 @@
|
|
1
|
-
.control-group
|
2
|
-
.navbar.clean
|
3
|
-
.navbar-inner
|
4
|
-
.brand.brand-lite Show Time
|
5
|
-
.controls
|
6
|
-
=select_tag :hour, options_for_select(["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "8"), :id => "show-time-hour", :class => "input-small"
|
7
|
-
=":"
|
8
|
-
=select_tag :minute, options_for_select(["00", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59"]), :id => "show-time-minute", :class => "input-small"
|
9
|
-
=select_tag :meridian, options_for_select([["AM", "a"], ["PM", "p"]], "p"), :id => "show-time-meridian", :class => "input-small"
|
10
|
-
.bottom-room
|
11
|
-
.navbar.clean
|
12
|
-
.navbar-inner
|
13
|
-
.brand.brand-lite Show Dates
|
14
|
-
#new-show-calendar{'data-event-id' => @event.id, 'data-event-type' => event_type}
|
15
|
-
#calendar-help
|
16
|
-
.pull-right
|
17
|
-
%span{:style => 'background-color: #adadad'}     
|
18
|
-
Existing shows
|
19
|
-
%span{:style => 'background-color: #3a87ad'}     
|
20
|
-
New shows
|
21
|
-
%div{:style => "clear:both"}
|
@@ -1,29 +0,0 @@
|
|
1
|
-
#door-list-table
|
2
|
-
%table{:style => 'width: 100%'}
|
3
|
-
%thead
|
4
|
-
%tr{:style => "padding: 20px; text-align:left;"}
|
5
|
-
%th Order Number
|
6
|
-
%th First
|
7
|
-
%th Last
|
8
|
-
%th Ticket Type
|
9
|
-
%th Method
|
10
|
-
%tbody
|
11
|
-
- @door_list.items.each do |door_list_item|
|
12
|
-
%tr{:style => "padding: 20px; text-align:left;"}
|
13
|
-
%td= door_list_item.order_id
|
14
|
-
%td= door_list_item.buyer.first_name
|
15
|
-
%td= door_list_item.buyer.last_name
|
16
|
-
%td= door_list_item.ticket.ticket_type.name
|
17
|
-
%td= door_list_item.payment_method
|
18
|
-
- if door_list_item.special_instructions.present?
|
19
|
-
%tr
|
20
|
-
%td
|
21
|
-
%td{:colspan => 4}
|
22
|
-
Special Instructions:
|
23
|
-
= door_list_item.special_instructions
|
24
|
-
- if door_list_item.notes.present?
|
25
|
-
%tr
|
26
|
-
%td
|
27
|
-
%td{:colspan => 4}
|
28
|
-
Notes:
|
29
|
-
= door_list_item.notes
|
@@ -1,22 +0,0 @@
|
|
1
|
-
%table.standalone.table
|
2
|
-
%thead
|
3
|
-
%tr
|
4
|
-
%th Pass Type
|
5
|
-
%th.right{:style=>'width:100px'}
|
6
|
-
%th.right{:style=>'width:100px'} Tickets
|
7
|
-
%th.right{:style=>'width:100px'}
|
8
|
-
%th.right{:style=>'width:100px'}
|
9
|
-
%th.right{:style=>'width:100px'}
|
10
|
-
%tbody
|
11
|
-
- if statement.pass_rows.empty?
|
12
|
-
%tr
|
13
|
-
%td{:colspan => 6} No passes used for this show
|
14
|
-
|
15
|
-
- statement.pass_rows.each do |pass_code, row|
|
16
|
-
%tr
|
17
|
-
%td=pass_code
|
18
|
-
%td.right
|
19
|
-
%td.right=row.tickets
|
20
|
-
%td.right
|
21
|
-
%td.right
|
22
|
-
%td.right
|
@@ -1,12 +0,0 @@
|
|
1
|
-
.membership-message
|
2
|
-
.center{:style => 'text-align:center'}
|
3
|
-
=icon_tag "18-envelope@2x", {:align => "center"}
|
4
|
-
.center{:style => 'text-align:center'}
|
5
|
-
%h4 Thanks for becoming a member!
|
6
|
-
.message
|
7
|
-
We've sent an email to
|
8
|
-
%b=email
|
9
|
-
and that email includes instructions to setup your login and password so you can access our exclusive member site. Purchase member tickets, find exclusive member events, update your address, and more!
|
10
|
-
%br
|
11
|
-
-membership_types.each do |membership_type|
|
12
|
-
%p=membership_type.thanks_copy
|
@@ -1,9 +0,0 @@
|
|
1
|
-
#venue
|
2
|
-
%h6 Venue
|
3
|
-
=link_to image_tag("https://maps.google.com/maps/api/staticmap?size=140x140&maptype=roadmap&markers=color:red|#{event.venue.address_as_url_query}&sensor=false&zoom=15"), "https://maps.google.com/maps?q=#{event.venue.address_as_url_query.html_safe}&z=15"
|
4
|
-
%div
|
5
|
-
%strong=event.venue.name
|
6
|
-
%div=event.venue.address1
|
7
|
-
-unless event.venue.address2.blank?
|
8
|
-
%div=event.venue.address2
|
9
|
-
%div=event.venue.city_state_zip_as_string
|
@@ -1,50 +0,0 @@
|
|
1
|
-
- content_for :title do
|
2
|
-
Buy tickets to #{@event.name}
|
3
|
-
.container#multi-show-container
|
4
|
-
#event-header
|
5
|
-
%h1#logo= @event.name
|
6
|
-
%h4= @event.subtitle
|
7
|
-
%h4= @event.producer
|
8
|
-
|
9
|
-
.row
|
10
|
-
.span8
|
11
|
-
=render 'calendar'
|
12
|
-
#loading-container
|
13
|
-
#loading
|
14
|
-
Hang tight! We're searching for your tickets.
|
15
|
-
=image_tag "loading.gif"
|
16
|
-
#error
|
17
|
-
We had a problem finding tickets. Please try again.
|
18
|
-
%ul#shows.unstyled
|
19
|
-
- @event.upcoming_public_shows.each do |show|
|
20
|
-
%li{:id => "show_#{show.id}", 'data-show-uuid' => show.uuid, :style => "display:none", 'data-date' => "#{show.datetime_local_to_event.strftime('%D')}"}
|
21
|
-
|
22
|
-
.span4
|
23
|
-
#description.side-section
|
24
|
-
%h6 About
|
25
|
-
- if @event.image?
|
26
|
-
= image_tag @event.image.url(:thumb), :width => 140, :height => 140, "data-toggle" => "modal", "data-target" => "#poster-modal"
|
27
|
-
|
28
|
-
- unless @event.description.blank?
|
29
|
-
-if @event.description.length > 300
|
30
|
-
.toggle-truncated
|
31
|
-
.truncated
|
32
|
-
= simple_format "#{truncate(@event.description, :length => 300)} (#{link_to 'more','#', :class => 'toggle'})"
|
33
|
-
.not-truncated{:style => 'display:none;'}
|
34
|
-
=simple_format "#{@event.description} (#{link_to 'less','#', :class => 'toggle'})"
|
35
|
-
- else
|
36
|
-
=simple_format @event.description
|
37
|
-
.side-section
|
38
|
-
=render :partial => "venue", :locals => { :event => @event }
|
39
|
-
- unless @event.contact_email.blank? && @event.contact_phone.blank?
|
40
|
-
#contact.side-section
|
41
|
-
%h6 Contact
|
42
|
-
- unless @event.contact_email.blank?
|
43
|
-
= mail_to @event.contact_email
|
44
|
-
<br />
|
45
|
-
- unless @event.contact_phone.blank?
|
46
|
-
= @event.contact_phone
|
47
|
-
|
48
|
-
#poster-modal.modal.hide.fade
|
49
|
-
.modal-body
|
50
|
-
= image_tag @event.image.url
|
@@ -1,45 +0,0 @@
|
|
1
|
-
- content_for :title do
|
2
|
-
Buy tickets to #{@event.name}
|
3
|
-
|
4
|
-
.container#single-show-container
|
5
|
-
.row
|
6
|
-
.span8
|
7
|
-
|
8
|
-
#event-header.side-section
|
9
|
-
%h1#logo= @event.name
|
10
|
-
-if @event.subtitle
|
11
|
-
#subtitle= @event.subtitle
|
12
|
-
%h4= @event.producer
|
13
|
-
%h4= @event.shows.first.show_time
|
14
|
-
|
15
|
-
#about-event.side-section
|
16
|
-
#description
|
17
|
-
-if @event.description && @event.description.length > 2000
|
18
|
-
.toggle-truncated
|
19
|
-
.truncated
|
20
|
-
= simple_format "#{truncate(@event.description, :length => 2000)} (#{link_to 'more','#', :class => 'toggle'})"
|
21
|
-
.not-truncated{:style => 'display:none;'}
|
22
|
-
=simple_format "#{@event.description} (#{link_to 'less','#', :class => 'toggle'})"
|
23
|
-
- else
|
24
|
-
=simple_format @event.description
|
25
|
-
|
26
|
-
#show
|
27
|
-
- if @shows.blank? || @shows.first.nil?
|
28
|
-
There are no tickets available for purchase.
|
29
|
-
-else
|
30
|
-
=render :partial => 'store/shows/show', :locals => {:show => @shows.first, :collapsed => false}
|
31
|
-
|
32
|
-
|
33
|
-
.span4
|
34
|
-
.side-section.event-image
|
35
|
-
%center
|
36
|
-
- if @event.image?
|
37
|
-
= image_tag @event.image.url, :class => "event-poster", "data-toggle" => "modal", "data-target" => "#poster-modal"
|
38
|
-
|
39
|
-
.side-section.store-event-display
|
40
|
-
- unless @event.venue.address_as_string.blank?
|
41
|
-
=render :partial => "venue", :locals => { :event => @event }
|
42
|
-
|
43
|
-
#poster-modal.modal.hide.fade
|
44
|
-
.modal-body
|
45
|
-
= image_tag @event.image.url
|
@@ -1,33 +0,0 @@
|
|
1
|
-
- content_for :title do
|
2
|
-
Purchase a Pass
|
3
|
-
|
4
|
-
.container
|
5
|
-
%h1 Purchase a Pass
|
6
|
-
|
7
|
-
.row#membership-storefront
|
8
|
-
.span8
|
9
|
-
#salesy{:style => "margin-bottom: 20px"}
|
10
|
-
=@passes_kit.marketing_copy_heading.html_safe
|
11
|
-
|
12
|
-
- @pass_types.each do |pass_type|
|
13
|
-
.row-fluid{:id => "pass-type-#{pass_type.id}"}
|
14
|
-
.span12
|
15
|
-
%ul#memberships.unstyled
|
16
|
-
%li
|
17
|
-
.title.active
|
18
|
-
.price
|
19
|
-
=number_as_cents pass_type.price
|
20
|
-
.pass_type_name
|
21
|
-
=pass_type.name
|
22
|
-
=pass_type.description
|
23
|
-
%br
|
24
|
-
%br
|
25
|
-
.section
|
26
|
-
= form_for pass_type, :as => :pass_type, :url => store_order_path(@store_organization.cached_slug), :html => {:id => "edit_pass_type_#{pass_type.id}"}, :method => :post do |f|
|
27
|
-
= f.hidden_field :id
|
28
|
-
= select_tag :quantity, options_for_select((1..6).to_a.map {|i| [pluralize(i, "#{pass_type.passerize}"), i]})
|
29
|
-
= f.submit 'Add to cart', :class => 'add-to-cart btn btn-primary', :style => 'margin-top: -10px'
|
30
|
-
|
31
|
-
.span4
|
32
|
-
.side-section
|
33
|
-
=@passes_kit.marketing_copy_sidebar.html_safe
|
@@ -1,11 +0,0 @@
|
|
1
|
-
.row
|
2
|
-
.span6.offset3
|
3
|
-
%h1 What's my pass code?
|
4
|
-
%p Enter the email address that you provided when you purchased the pass and we'll send you a reminer email right away.
|
5
|
-
%p
|
6
|
-
|
7
|
-
%p
|
8
|
-
%form.form-horizontal{:method => "POST", :action => store_retrievals_path(@store_organization.cached_slug)}
|
9
|
-
=text_field_tag :email, ""
|
10
|
-
=submit_tag "Submit", :class => "btn"
|
11
|
-
|
@@ -1,21 +0,0 @@
|
|
1
|
-
- donation_kit = @donation_kit || @store_organization.kit(:regular_donation)
|
2
|
-
%h6 Donate
|
3
|
-
|
4
|
-
- if donation_kit && donation_kit.donation_nudge_text.present?
|
5
|
-
%p= donation_kit.donation_nudge_text
|
6
|
-
- elsif @store_organization.authorization_hash[:type] == :sponsored
|
7
|
-
%p= "#{@store_organization.authorization_hash[:fsp_name]} is a fiscally sponsored project of Fractured Atlas, a non-profit arts service organization. Donations for the purposes of #{@store_organization.authorization_hash[:fsp_name]} must be made payable to Fractured Atlas and are tax-deductible to the extent permitted by law."
|
8
|
-
- else
|
9
|
-
%p
|
10
|
-
Help support our work by adding a donation to your order!
|
11
|
-
%br
|
12
|
-
Donations are tax-deductible to the extent permitted by law.
|
13
|
-
|
14
|
-
= form_tag store_order_path(@store_organization.cached_slug), :method => :post, :class => 'add-donation-to-cart form-inline' do
|
15
|
-
= hidden_field_tag :_source, 'cart'
|
16
|
-
.preset-amount.last
|
17
|
-
.input-prepend
|
18
|
-
%span.add-on $
|
19
|
-
= text_field_tag :donation_amount, '', :class => 'span1'
|
20
|
-
|
21
|
-
= submit_tag 'Add Donation', :class => 'btn btn-primary', :id => 'add-donation'
|
@@ -1,14 +0,0 @@
|
|
1
|
-
- @organization = @resource.invited_by.user_memberships.first.organization
|
2
|
-
%h1 Hi #{@resource.email}.
|
3
|
-
|
4
|
-
%p #{@organization.name} has invited you to their Artful.ly account! Artful.ly is a new web-app that helps artists sell tickets, take donations, and manage contacts.
|
5
|
-
|
6
|
-
%p
|
7
|
-
To check it out, accept #{@organization.name}’s invitation and set up your login info,
|
8
|
-
= link_to 'follow this link.', accept_invitation_url(@resource, :invitation_token => @resource.invitation_token)
|
9
|
-
|
10
|
-
%p
|
11
|
-
If you do not want to join this organization, just ignore this email. Your account won’t be created until you click the link above and set your password.
|
12
|
-
|
13
|
-
%p
|
14
|
-
If you have any question about #{@organization.name}’s invitation, please contact #{mail_to @organization.email}.
|
@@ -1,69 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# The attachment's attachee must have a uuid column to use this
|
3
|
-
#
|
4
|
-
Paperclip.interpolates :uuid do |attachment, style|
|
5
|
-
attachment.instance.uuid
|
6
|
-
end
|
7
|
-
|
8
|
-
if Rails.env.test?
|
9
|
-
TICKET_QR_STORAGE = {} # default
|
10
|
-
else
|
11
|
-
TICKET_QR_STORAGE = {
|
12
|
-
:storage => :s3,
|
13
|
-
:path => ":attachment/:id/:style.:extension",
|
14
|
-
:bucket => Rails.configuration.s3.bucket,
|
15
|
-
:s3_protocol => 'https',
|
16
|
-
:s3_credentials => {
|
17
|
-
:access_key_id => Rails.configuration.s3.access_key_id,
|
18
|
-
:secret_access_key => Rails.configuration.s3.secret_access_key
|
19
|
-
}
|
20
|
-
}
|
21
|
-
end
|
22
|
-
|
23
|
-
if Rails.env.test?
|
24
|
-
ORDER_PDF_STORAGE = {} # default
|
25
|
-
else
|
26
|
-
ORDER_PDF_STORAGE = {
|
27
|
-
:storage => :s3,
|
28
|
-
:path => ":attachment/orders/:id/:style.:extension",
|
29
|
-
:bucket => Rails.configuration.s3.bucket,
|
30
|
-
:s3_protocol => 'https',
|
31
|
-
:s3_permissions => 'private',
|
32
|
-
:s3_credentials => {
|
33
|
-
:access_key_id => Rails.configuration.s3.access_key_id,
|
34
|
-
:secret_access_key => Rails.configuration.s3.secret_access_key
|
35
|
-
}
|
36
|
-
}
|
37
|
-
end
|
38
|
-
|
39
|
-
if Rails.env.test?
|
40
|
-
MEMBER_QR_STORAGE = {} # default
|
41
|
-
else
|
42
|
-
MEMBER_QR_STORAGE = {
|
43
|
-
:storage => :s3,
|
44
|
-
:path => ":attachment/members/:id/:style.:extension",
|
45
|
-
:bucket => Rails.configuration.s3.bucket,
|
46
|
-
:s3_protocol => 'https',
|
47
|
-
:s3_permissions => 'private',
|
48
|
-
:s3_credentials => {
|
49
|
-
:access_key_id => Rails.configuration.s3.access_key_id,
|
50
|
-
:secret_access_key => Rails.configuration.s3.secret_access_key
|
51
|
-
}
|
52
|
-
}
|
53
|
-
end
|
54
|
-
|
55
|
-
if Rails.env.test?
|
56
|
-
MEMBER_PDF_STORAGE = {} # default
|
57
|
-
else
|
58
|
-
MEMBER_PDF_STORAGE = {
|
59
|
-
:storage => :s3,
|
60
|
-
:path => ":attachment/members/:uuid/membership_card.pdf",
|
61
|
-
:bucket => Rails.configuration.s3.bucket,
|
62
|
-
:s3_protocol => 'https',
|
63
|
-
:s3_permissions => 'private',
|
64
|
-
:s3_credentials => {
|
65
|
-
:access_key_id => Rails.configuration.s3.access_key_id,
|
66
|
-
:secret_access_key => Rails.configuration.s3.secret_access_key
|
67
|
-
}
|
68
|
-
}
|
69
|
-
end
|
data/db/migrate/20130411162346_add_country_zip_state_phone_number_discipline_to_organizations.rb
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
class AddCountryZipStatePhoneNumberDisciplineToOrganizations < ActiveRecord::Migration
|
2
|
-
def change
|
3
|
-
add_column :organizations, :country, :string
|
4
|
-
add_column :organizations, :zip, :string
|
5
|
-
add_column :organizations, :state, :string
|
6
|
-
add_column :organizations, :phone_number, :string
|
7
|
-
add_column :organizations, :discipline, :string
|
8
|
-
end
|
9
|
-
end
|