Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Changeset [f2b986b08da1bc19a0eb7b9f44b8c66831c7bcff] by Anton Astashov

Revision f2b986b08da1bc19a0eb7b9f44b8c66831c7bcff, committed by Anton Astashov · December 16th, 2008 @ 06:39 PM

Added notification about subscription expiration. Sent_notification flags for subscription and credit card is dropped after saving (changing) of them. Added distinguish between manual and subscribe payments. Cronjob make subscribe payments, Admin can make both payments. http://github.com/astashov/solut...

23 changed files

  • M app/models/credit_card.rb
  • M app/models/notifier.rb
  • M app/models/partner.rb
  • M app/models/payment.rb
  • M app/models/subscription.rb
  • M app/views/notifier/partners_subscription_will_be_expired_soon.erb
  • M app/views/notifier/your_subscription_will_be_expired_soon.erb
  • M app/views/payments/index.html.haml
  • M app/views/sysop/partners/charge.html.haml
  • M cronjobs/payment_job.rb
  • M db/dump_data.rb
  • M db/migrate/20081105052513_create_subscriptions.rb
  • M db/migrate/20081118105348_create_payments.rb
  • M db/schema.rb
  • M lib/controller/partner_common_operations.rb
  • M public/javascripts/application.js
  • M public/stylesheets/application.css
  • M spec/controllers/sysop/partners_controller_spec.rb
  • M spec/cronjobs/payment_job_spec.rb
  • M spec/models/credit_card_spec.rb
  • M spec/models/partner_spec.rb
  • M spec/models/subscription_spec.rb
  • M spec/solutions_spec_helpers.rb