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,84 +0,0 @@
|
|
1
|
-
:plain
|
2
|
-
<style>
|
3
|
-
@import http://artfully-pdf-css.s3.amazonaws.com/helvetica.css;
|
4
|
-
|
5
|
-
body {
|
6
|
-
padding: 0;
|
7
|
-
margin: 0;
|
8
|
-
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
9
|
-
font-size: 13px;
|
10
|
-
line-height: 18px;
|
11
|
-
color: #000;
|
12
|
-
}
|
13
|
-
.ticket {
|
14
|
-
width: 5.5in;
|
15
|
-
height: 2in;
|
16
|
-
border: 1px solid #000;
|
17
|
-
clear: both;
|
18
|
-
margin-bottom: 20px;
|
19
|
-
box-sizing: border-box;
|
20
|
-
}
|
21
|
-
.ticket:nth-child(4n+4) {
|
22
|
-
margin-bottom: 1.1in;
|
23
|
-
}
|
24
|
-
.qr-code img {
|
25
|
-
margin-left: 1px;
|
26
|
-
margin-top: 1px;
|
27
|
-
width: 150px;
|
28
|
-
height: 150px;
|
29
|
-
}
|
30
|
-
.left-side {
|
31
|
-
margin-left: 10px;
|
32
|
-
margin-top: 10px;
|
33
|
-
}
|
34
|
-
.show-name {
|
35
|
-
font-weight: bold;
|
36
|
-
}
|
37
|
-
.show-time {
|
38
|
-
margin-bottom: 10px;
|
39
|
-
}
|
40
|
-
.right-side {
|
41
|
-
float: right;
|
42
|
-
}
|
43
|
-
.order-number {
|
44
|
-
margin-left: 10px;
|
45
|
-
}
|
46
|
-
.venue {
|
47
|
-
margin-bottom: 10px;
|
48
|
-
}
|
49
|
-
.person-name {
|
50
|
-
font-weight: bold;
|
51
|
-
}
|
52
|
-
</style>
|
53
|
-
|
54
|
-
- pdfable.tickets.each do |item|
|
55
|
-
:ruby
|
56
|
-
order = pdfable
|
57
|
-
person = order.person
|
58
|
-
organization = order.organization
|
59
|
-
product = item.product
|
60
|
-
event = product.event
|
61
|
-
show = product.show
|
62
|
-
venue = event.venue
|
63
|
-
|
64
|
-
.ticket
|
65
|
-
.right-side
|
66
|
-
.qr-code
|
67
|
-
%img{:src => (product.qr_code_url rescue 'http://placehold.it/150/ffffff.png&text=No+QR+Code')}
|
68
|
-
.order-number Order ##{order.id}
|
69
|
-
|
70
|
-
.left-side
|
71
|
-
.organization-name= organization.name
|
72
|
-
.show-name= event.name
|
73
|
-
.show-time= I18n.localize show.datetime_local_to_event
|
74
|
-
|
75
|
-
.venue
|
76
|
-
#{venue.name} <br />
|
77
|
-
- if venue.address1.present?
|
78
|
-
#{venue.address1} <br />
|
79
|
-
- if venue.address2.present?
|
80
|
-
#{venue.address2} <br />
|
81
|
-
#{[venue.city,venue.state].select {|s| s.present?}.join(',')} #{venue.zip}
|
82
|
-
|
83
|
-
.person-name #{person.first_name} #{person.last_name}
|
84
|
-
.product #{product.ticket_type.name} #{number_as_cents product.price}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
.fields.relationship-fields
|
2
|
-
.control-group
|
3
|
-
= label_tag nil, @person, :class => 'control-label', :style => 'width: 120px;'
|
4
|
-
.controls
|
5
|
-
= f.select :relation_id, options_from_collection_for_select(Relation.for_type(@person.type).order(:description).uniq(:description), :id, :description, f.object.relation_id), {}, {:class => 'input-medium',:readonly => (!f.object.nil? && f.object.persisted?)}
|
6
|
-
- if !f.object.nil? && f.object.persisted?
|
7
|
-
= text_field_tag :other, f.object.other, :class => 'input-medium other-input', :readonly => true
|
8
|
-
- else
|
9
|
-
= text_field_tag "", "", :placeholder => "Individual or Company", :class => 'input-medium other-input'
|
10
|
-
= f.hidden_field(:other_id, :class => 'other-id')
|
11
|
-
%span.remove-fields-link
|
12
|
-
= f.hidden_field :_destroy
|
13
|
-
%i.fa.fa-minus-circle.icon-gray
|
14
|
-
= link_to_remove_fields "remove", f
|
@@ -1,39 +0,0 @@
|
|
1
|
-
.dropdown
|
2
|
-
=icon_link_to('Work with...', "#menu#bulkactions", 'fa-asterisk', 'dropdown-toggle dropdown btn', '')
|
3
|
-
|
4
|
-
%ul.dropdown-menu
|
5
|
-
%li= link_to "Edit #{@person.possessive} Info", '#edit-person', 'data-toggle' => 'modal', :id => "edit_link"
|
6
|
-
-with_kit (:membership) do
|
7
|
-
-if person.email.blank? || person.company?
|
8
|
-
%li= link_to "Comp Membership", "#comp-membership", 'data-toggle' => 'modal'
|
9
|
-
-else
|
10
|
-
%li= link_to "Comp Membership", new_person_membership_comp_path(person)
|
11
|
-
|
12
|
-
-unless @person.member.nil?
|
13
|
-
%li= link_to "View Memberships", person_memberships_path(@person)
|
14
|
-
|
15
|
-
-with_kit(:passes) do
|
16
|
-
-unless @person.passes.empty?
|
17
|
-
%li= link_to "View Passes", person_passes_path(@person)
|
18
|
-
|
19
|
-
%li= link_to "Merge", new_merge_path(:loser => person.id)
|
20
|
-
|
21
|
-
- if @person.destroyable?
|
22
|
-
%li= link_to "Delete", @person, :method => :delete, :confirm => "Are you sure you want to delete #{@person}?"
|
23
|
-
|
24
|
-
%li= link_to "Sell To", new_console_sale_path(:person_id => person.id)
|
25
|
-
|
26
|
-
-if person.email.blank? || person.company?
|
27
|
-
-with_kit (:membership) do
|
28
|
-
#comp-membership.modal
|
29
|
-
.modal-header
|
30
|
-
.close{'data-dismiss'=>'modal'} x
|
31
|
-
%h3 Comp Membership
|
32
|
-
.modal-body
|
33
|
-
-if person.email.blank?
|
34
|
-
Sorry! We can't comp memberships to patrons who don't have an email.
|
35
|
-
-elsif person.company?
|
36
|
-
Sorry! We can't comp memberships to companies or institutions.
|
37
|
-
.modal-footer
|
38
|
-
= button_tag "Close", :class => "btn", 'data-dismiss' => 'modal'
|
39
|
-
|
@@ -1,8 +0,0 @@
|
|
1
|
-
%h2= "Your organization #{@organization.name} has applied for a DonationKit in Artful.ly with the following details:"
|
2
|
-
|
3
|
-
%ul
|
4
|
-
%li= "Organization Name: #{@organization.name}"
|
5
|
-
%li= "Legal Organization Name: #{@organization.legal_organization_name}"
|
6
|
-
%li= "EIN: #{@organization.ein}"
|
7
|
-
|
8
|
-
To complete this activation, you must fax or email your IRS Determination Letter to FracturedAtlas.
|
@@ -1,8 +0,0 @@
|
|
1
|
-
|
2
|
-
Your organization <%= @organization.name %> has applied for a DonationKit in Artful.ly with the following details:
|
3
|
-
|
4
|
-
Organization Name: <%= @organization.name %>
|
5
|
-
Legal Organization Name: <%= @organization.legal_organization_name %>
|
6
|
-
EIN: <%= @organization.ein %>
|
7
|
-
|
8
|
-
To complete this activation, you must fax or email your IRS Determination Letter to FracturedAtlas.
|
@@ -1,21 +0,0 @@
|
|
1
|
-
%h2 #{@organization.name} has successfully synced your Artful.ly account with the following MailChimp lists:
|
2
|
-
|
3
|
-
- if @added_list_names.any?
|
4
|
-
%h3 Added:
|
5
|
-
%ul
|
6
|
-
- @added_list_names.each do |name|
|
7
|
-
%li= name
|
8
|
-
|
9
|
-
- if @removed_list_names.any?
|
10
|
-
%h3 Removed:
|
11
|
-
%ul
|
12
|
-
- @removed_list_names.each do |name|
|
13
|
-
%li= name
|
14
|
-
|
15
|
-
%p #{pluralize @kit.count_from_mailchimp, 'person'} synced from MailChimp
|
16
|
-
%p #{pluralize @kit.count_merged_mailchimp, 'person'} merged from MailChimp
|
17
|
-
|
18
|
-
%p From now on your Artful.ly People records and MailChimp members should stay in sync.
|
19
|
-
|
20
|
-
%p Cheers,
|
21
|
-
%p The Artful.ly Team
|
@@ -1,11 +0,0 @@
|
|
1
|
-
%h2 The ticket reseller #{@reseller.name} has rejected the following offer.
|
2
|
-
|
3
|
-
%ul
|
4
|
-
%li Event: #{@event.name}
|
5
|
-
%li Show: #{@show.show_time}
|
6
|
-
%li Ticket Type: #{@ticket_type.name}
|
7
|
-
%li Tickets: #{pluralize @ticket_offer.count, "ticket"}
|
8
|
-
|
9
|
-
- if @ticket_offer.rejection_reason.present?
|
10
|
-
%h2 The reseller included the following comment:
|
11
|
-
= simple_format @ticket_offer.rejection_reason
|
@@ -1,13 +0,0 @@
|
|
1
|
-
|
2
|
-
The ticket reseller <%= @reseller.name %> has accepted the following offer.
|
3
|
-
|
4
|
-
Event: <%= @event.name %>
|
5
|
-
Show: <%= @show.show_time %>
|
6
|
-
Section: <%= @section.name %>
|
7
|
-
Tickets: <%= pluralize @ticket_offer.count, "ticket" %>
|
8
|
-
|
9
|
-
<% if @ticket_offer.rejection_reason.present? %>
|
10
|
-
The reseller included the following comment:
|
11
|
-
|
12
|
-
<%= @ticket_offer.rejection_reason %>
|
13
|
-
<% end %>
|
@@ -1,140 +0,0 @@
|
|
1
|
-
- content_for :header do
|
2
|
-
%h1 Configure 501(c)(3) Donation Kit
|
3
|
-
|
4
|
-
#edit-donation-kit
|
5
|
-
= form_for @kit do |f|
|
6
|
-
.row-fluid.bottom-room
|
7
|
-
.span3
|
8
|
-
= f.label :about_organization_text, 'About Your Organization', :class => 'control-label'
|
9
|
-
.guide
|
10
|
-
%p
|
11
|
-
Briefly describe your organization's activities and goals to a potential patron.
|
12
|
-
.span9
|
13
|
-
= f.text_area :about_organization_text, :class => 'input-xxlarge wysihtml5', :rows => 8
|
14
|
-
|
15
|
-
.row-fluid.bottom-room
|
16
|
-
.span3
|
17
|
-
= f.label :donation_ask_text, 'Donation Ask for Storefront', :class => 'control-label'
|
18
|
-
.guide
|
19
|
-
%p
|
20
|
-
Why should someone donate to your organization? This appeal appears on your Donation Storefront.
|
21
|
-
.span9
|
22
|
-
= f.text_area :donation_ask_text, :class => 'input-xxlarge wysihtml5', :rows => 8
|
23
|
-
|
24
|
-
.row-fluid.bottom-room
|
25
|
-
.span3
|
26
|
-
= f.label :donate_now_text, 'Navigation Button Name', :class => 'control-label'
|
27
|
-
.guide
|
28
|
-
%p
|
29
|
-
Customize the name of orange donate button on your Storefront navigation bar.
|
30
|
-
.span9
|
31
|
-
= f.text_field :donate_now_text, :class => 'input-xxlarge'
|
32
|
-
|
33
|
-
.row-fluid.bottom-room
|
34
|
-
.span3
|
35
|
-
= f.label :donation_nudge_text, 'Donation Nudge for Cart', :class => 'control-label'
|
36
|
-
.guide
|
37
|
-
%p
|
38
|
-
This short appeal appears in the shopping cart to encourage patrons to add a donation to their order.
|
39
|
-
.span9
|
40
|
-
= f.text_field :donation_nudge_text, :class => 'input-xxlarge'
|
41
|
-
|
42
|
-
.row-fluid.bottom-room
|
43
|
-
%hr
|
44
|
-
|
45
|
-
.row-fluid.bottom-room
|
46
|
-
.span3
|
47
|
-
= f.label :suggested_gifts, 'Suggested Gifts', :class => 'control-label'
|
48
|
-
.span9
|
49
|
-
- idx = 0
|
50
|
-
- Array(@kit.suggested_gifts).each do |s|
|
51
|
-
.suggested-gift-container
|
52
|
-
= f.text_field "suggested_gift_#{idx}_level_name", :name => "regular_donation_kit[suggested_gifts][#{idx}][level_name]",
|
53
|
-
:placeholder => 'Level Name (optional)',
|
54
|
-
:value => s['level_name'].present? ? s['level_name'] : ''
|
55
|
-
= f.text_field "suggested_gift_#{idx}_amount", :name => "regular_donation_kit[suggested_gifts][#{idx}][amount]",
|
56
|
-
:placeholder => '$ Amount',
|
57
|
-
:value => s['amount'].present? ? s['amount'] : ''
|
58
|
-
%a{ href: 'javascript:;', :class => 'suggested-gift-remove' }
|
59
|
-
Remove
|
60
|
-
- idx = idx + 1
|
61
|
-
.suggested-gift-container.new-suggested-gift-container
|
62
|
-
= f.text_field "suggested_gift_#{idx}_level_name", :name => "regular_donation_kit[suggested_gifts][#{idx}][level_name]",
|
63
|
-
:placeholder => 'Level Name (optional)',
|
64
|
-
:value => ''
|
65
|
-
= f.text_field "suggested_gift_#{idx}_amount", :name => "regular_donation_kit[suggested_gifts][#{idx}][amount]",
|
66
|
-
:placeholder => '$ Amount',
|
67
|
-
:value => ''
|
68
|
-
%a{ href: 'javascript:;', :class => 'suggested-gift-add' }
|
69
|
-
Add
|
70
|
-
|
71
|
-
.row-fluid.bottom-room
|
72
|
-
.span3
|
73
|
-
= f.label :open_gift_field, 'Display open gift field', :class => 'control-label'
|
74
|
-
.span9
|
75
|
-
= f.check_box :open_gift_field, :checked => @kit.open_gift_field.nil? || @kit.open_gift_field == '1'
|
76
|
-
|
77
|
-
.row-fluid.bottom-room
|
78
|
-
%hr
|
79
|
-
|
80
|
-
.row-fluid.bottom-room
|
81
|
-
.span3
|
82
|
-
= f.label :thanks_msg_text, 'Thanks Message', :class => 'control-label'
|
83
|
-
.guide
|
84
|
-
%p
|
85
|
-
This appears on the confirmation page after your patron makes a donation.
|
86
|
-
.span9
|
87
|
-
= f.text_area :thanks_msg_text, :class => 'input-xxlarge', :rows => 8
|
88
|
-
|
89
|
-
.row-fluid.bottom-room
|
90
|
-
.span3
|
91
|
-
= f.label :email_msg_text, 'Email Message', :class => 'control-label'
|
92
|
-
.guide
|
93
|
-
%p
|
94
|
-
This appears in the email order confirmation your patron receives after making a donation.
|
95
|
-
.span9
|
96
|
-
= f.text_area :email_msg_text, :class => 'input-xxlarge', :rows => 8
|
97
|
-
|
98
|
-
.row-fluid.bottom-room
|
99
|
-
%hr
|
100
|
-
|
101
|
-
.row-fluid.bottom-room
|
102
|
-
.span3
|
103
|
-
= f.label :donation_only_storefront, 'Donation-Only Storefront Link'
|
104
|
-
.span9
|
105
|
-
= link_to store_donate_url(@kit.organization.cached_slug).gsub(/^https?:\/+/, ''), store_donate_url(@kit.organization.cached_slug), :target => '_blank'
|
106
|
-
|
107
|
-
.row-fluid.bottom-room
|
108
|
-
.span3
|
109
|
-
= f.label :open_gift_field, 'Display Donation-Only Storefront', :class => 'control-label'
|
110
|
-
.span9
|
111
|
-
= f.check_box :donation_only_storefront
|
112
|
-
|
113
|
-
.row-fluid.bottom-room
|
114
|
-
.span3
|
115
|
-
 
|
116
|
-
.span9
|
117
|
-
=f.submit 'Save', :class => 'btn btn-primary'
|
118
|
-
|
119
|
-
|
120
|
-
#about_organization_text-preview-modal.modal
|
121
|
-
.modal-header
|
122
|
-
.close{'data-dismiss' => 'modal'} x
|
123
|
-
%h3 About Organization Text Preview
|
124
|
-
|
125
|
-
.modal-body
|
126
|
-
#about_organization_text-preview
|
127
|
-
(About Organization Text Preview)
|
128
|
-
.modal-footer
|
129
|
-
= link_to 'Close', '#', :class => 'btn', 'data-dismiss' => 'modal'
|
130
|
-
|
131
|
-
#donation_ask_text-preview-modal.modal
|
132
|
-
.modal-header
|
133
|
-
.close{'data-dismiss' => 'modal'} x
|
134
|
-
%h3 Donation Ask Preview
|
135
|
-
|
136
|
-
.modal-body
|
137
|
-
#donation_ask_text-preview
|
138
|
-
(Donation Ask Preview)
|
139
|
-
.modal-footer
|
140
|
-
= link_to 'Close', '#', :class => 'btn', 'data-dismiss' => 'modal'
|
@@ -1,32 +0,0 @@
|
|
1
|
-
- in_section :people
|
2
|
-
- content_for :title do
|
3
|
-
#{@person}
|
4
|
-
|
5
|
-
= render "people/header"
|
6
|
-
|
7
|
-
.row
|
8
|
-
.span12
|
9
|
-
= icon_link_to("View Record", polymorphic_path(@person), 'fa-share-alt', 'btn', '')
|
10
|
-
|
11
|
-
.row
|
12
|
-
.span2
|
13
|
-
%h4 Relations
|
14
|
-
%ul
|
15
|
-
%li= link_to("All", polymorphic_url([@person, :relationships]))
|
16
|
-
- relationship_counts_for(@person).each do |relation, count|
|
17
|
-
%li== #{link_to("#{relation.description.titleize.pluralize}", polymorphic_url([@person, :relationships], :relation_id => relation.id))} (#{count})
|
18
|
-
|
19
|
-
.span10
|
20
|
-
%h3== #{@relation} Relationships
|
21
|
-
%table.table.people-list
|
22
|
-
- @relationships.each do |relationship|
|
23
|
-
%tr
|
24
|
-
%td.starred.starable{"data-person-id" => relationship.person.id, "data-type" => 'relationship', "data-action-id" => relationship.id, :class => (relationship.starred? ? "active" : "not-active") }
|
25
|
-
✭
|
26
|
-
%td.name
|
27
|
-
= link_to_person(relationship.other)
|
28
|
-
%span.muted= relationship.relation.description.titleize
|
29
|
-
%br
|
30
|
-
= relationship.other.email
|
31
|
-
%td.tags
|
32
|
-
= render :partial => 'shared/tags_uneditable', :locals => { :tag_list => relationship.other.tag_list }
|
@@ -1,141 +0,0 @@
|
|
1
|
-
= form_tag event_show_sales_path, :class => 'boxoffice-form' do |f|
|
2
|
-
.row
|
3
|
-
.span2
|
4
|
-
%h6.padded-left 1. Tickets
|
5
|
-
.span10
|
6
|
-
.ticket-list
|
7
|
-
// unavailable tickets at the bottom
|
8
|
-
- @sale.ticket_types.sort_by { |t| -@tickets_remaining[t.id] }.each do |ticket_type|
|
9
|
-
.ticket{:class => ('unavailable' if @tickets_remaining[ticket_type.id] < 1), 'data-ticket-id' => ticket_type.id}
|
10
|
-
%a.ticket-quantity-button.subtract -
|
11
|
-
= number_field_tag "quantities[#{ticket_type.id}]", 0, :class => 'ticket-quantity', 'data-remaining' => @tickets_remaining[ticket_type.id], 'data-ticket-price' => number_to_dollars(ticket_type.price), :disabled => (@tickets_remaining[ticket_type.id] < 1)
|
12
|
-
%a.ticket-quantity-button.add +
|
13
|
-
%span.lead.ticket-type
|
14
|
-
%strong= ticket_type.name
|
15
|
-
= number_as_cents(ticket_type.price, cents_if_needed:true)
|
16
|
-
%span.muted
|
17
|
-
(#{content_tag :span, @tickets_remaining[ticket_type.id], :class => 'remaining', 'data-ticket-id' => ticket_type.id} remaining)
|
18
|
-
|
19
|
-
- if @event.organization.authorization_hash[:authorized]
|
20
|
-
.ticket
|
21
|
-
.input-prepend
|
22
|
-
%span.add-on $
|
23
|
-
= number_field_tag 'donation', nil, :placeholder => '0.00', :id => 'order-donation', :class => 'order-donation'
|
24
|
-
%span.lead
|
25
|
-
%strong
|
26
|
-
Donation
|
27
|
-
|
28
|
-
- if Discount.where(event_id:@event.id).any?
|
29
|
-
.discount
|
30
|
-
.ticket
|
31
|
-
.input
|
32
|
-
= text_field_tag 'discount', nil, :id => 'order-discount', :class => 'order-discount'
|
33
|
-
%span.lead
|
34
|
-
%strong
|
35
|
-
Discount Code
|
36
|
-
|
37
|
-
.ticket
|
38
|
-
.input
|
39
|
-
%span.lead.message
|
40
|
-
|
41
|
-
#order-total
|
42
|
-
%h3
|
43
|
-
.loading.hide
|
44
|
-
#{image_tag('loading.gif')} calculating total...
|
45
|
-
.message
|
46
|
-
$0.00 Total
|
47
|
-
= hidden_field_tag 'total'
|
48
|
-
.row.row-blue-padded
|
49
|
-
.span2
|
50
|
-
.row-blue-padded-left
|
51
|
-
%h6 2. Payment
|
52
|
-
.span10
|
53
|
-
.control-group
|
54
|
-
.btn-toolbar.payment-select
|
55
|
-
.btn-group
|
56
|
-
%a.btn{'data-payment-select' => 'cash'}
|
57
|
-
Cash
|
58
|
-
%a.btn{'data-payment-select' => 'credit'}
|
59
|
-
Credit
|
60
|
-
%a.btn{'data-payment-select' => 'check'}
|
61
|
-
Check
|
62
|
-
%a.btn{'data-payment-select' => 'comp'}
|
63
|
-
Comp
|
64
|
-
= hidden_field_tag 'payment_method'
|
65
|
-
#credit-fields.payment-fields{:style => 'display:none;'}
|
66
|
-
.control-group
|
67
|
-
%label
|
68
|
-
Card Number
|
69
|
-
%span.muted.required (required)
|
70
|
-
.controls= text_field_tag("credit_card[number]", params[:credit_card][:card_number], :placeholder => "XXXX-XXXX-XXXX-XXXX", :class => 'input-medium credit_card_number')
|
71
|
-
.control-group
|
72
|
-
%label
|
73
|
-
Card Expiration
|
74
|
-
%span.muted.required (required)
|
75
|
-
.date_field.controls
|
76
|
-
= select_tag("credit_card[month]", options_for_select(1..12, params[:credit_card]["month"]), :class => 'input-small inline')
|
77
|
-
= select_tag("credit_card[year]", options_for_select(Time.now.year..Time.now.year + 10, params[:credit_card]["year"]), :class => 'input-small inline')
|
78
|
-
#check-fields.payment-fields{:style => 'display:none;'}
|
79
|
-
.control-group
|
80
|
-
= label_tag("check[number]", "Check Number")
|
81
|
-
.controls= text_field_tag("check[number]", params[:check].try([:number]), :class => 'input-medium')
|
82
|
-
|
83
|
-
.row
|
84
|
-
.span2
|
85
|
-
%h6.padded-left 3. Buyer Info
|
86
|
-
.span10
|
87
|
-
#user-info
|
88
|
-
#existing-user-popover
|
89
|
-
= hidden_field_tag(:person_id, "", :name => "person[id]")
|
90
|
-
.control-group
|
91
|
-
%label
|
92
|
-
First Name
|
93
|
-
%span.muted.required.name-required{:style => 'display:none;'} (required)
|
94
|
-
.controls
|
95
|
-
= text_field_tag(:person_first_name, "", :id => "person_first_name", :name => "person[first_name]", :placeholder => "First name", :class => 'person_first_name')
|
96
|
-
.control-group
|
97
|
-
%label
|
98
|
-
Last Name
|
99
|
-
%span.muted.required.name-required{:style => 'display:none;'} (required)
|
100
|
-
.controls
|
101
|
-
= text_field_tag(:person_last_name, "", :id => "person_last_name", :name => "person[last_name]", :placeholder => "Last name", :class => 'person_last_name')
|
102
|
-
.control-group
|
103
|
-
%label
|
104
|
-
Email
|
105
|
-
%span.muted.required.contact-required{:style => 'display:none;'} (required or phone)
|
106
|
-
.controls= email_field_tag(:person_email, "", :id => "person_email", :name => "person[email]", :placeholder => "example@email.com", :class => 'person_email')
|
107
|
-
.control-group
|
108
|
-
%label
|
109
|
-
Phone Number
|
110
|
-
%span.muted.required.contact-required{:style => 'display:none;'} (required or email)
|
111
|
-
.controls
|
112
|
-
= text_field_tag(:person_phone, "", :id => "person_phone", :name => "person[phones_attributes][][number]", :placeholder => "(XXX) XXX-XXXX", :class => 'person_phone')
|
113
|
-
.control-group
|
114
|
-
%label
|
115
|
-
Order Notes
|
116
|
-
%span.muted.required
|
117
|
-
.controls= text_area_tag(:order_notes, "", :id => "order_notes", :name => "order_notes")
|
118
|
-
|
119
|
-
.row.row-blue-padded
|
120
|
-
.span2
|
121
|
-
.row-blue-padded-left
|
122
|
-
%h6 4. Check in
|
123
|
-
.span10
|
124
|
-
.control-group
|
125
|
-
%label.checkbox
|
126
|
-
= check_box_tag "auto_check_in"
|
127
|
-
Mark tickets as received on doorlist.
|
128
|
-
|
129
|
-
.row
|
130
|
-
.span10.offset2
|
131
|
-
= submit_tag 'Checkout', :class => 'btn btn-large', :disabled => 'disabled', :id => 'checkout-now-button'
|
132
|
-
|
133
|
-
#submit-confirmation.modal.hide.fade
|
134
|
-
.modal-header
|
135
|
-
%button.close.modal-close.hide{'type' => 'button', 'data-dismiss' => 'modal'} x
|
136
|
-
%h3 Processing...
|
137
|
-
.modal-body
|
138
|
-
.loading= image_tag('loading.gif')
|
139
|
-
.content
|
140
|
-
.modal-footer
|
141
|
-
%button.btn.btn-primary.modal-close.hide{'data-dismiss' => 'modal'} Close
|