@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @author Rafał Muszyński <[email protected]> |
|
| 4 | - * @copyright 2015 Sourcefabric z.ú. |
|
| 5 | - * @license http://www.gnu.org/licenses/gpl-3.0.txt |
|
| 6 | - */ |
|
| 3 | + * @author Rafał Muszyński <[email protected]> |
|
| 4 | + * @copyright 2015 Sourcefabric z.ú. |
|
| 5 | + * @license http://www.gnu.org/licenses/gpl-3.0.txt |
|
| 6 | + */ |
|
| 7 | 7 | namespace Newscoop\PaywallBundle\EventListener; |
| 8 | 8 | |
| 9 | 9 | use Newscoop\EventDispatcher\Events\PluginHooksEvent; |
@@ -131,17 +131,17 @@ |
||
| 131 | 131 | private function getClasses() |
| 132 | 132 | { |
| 133 | 133 | return array( |
| 134 | - $this->em->getClassMetadata('Newscoop\PaywallBundle\Entity\Subscription'), |
|
| 135 | - $this->em->getClassMetadata('Newscoop\PaywallBundle\Entity\SubscriptionSpecification'), |
|
| 136 | - $this->em->getClassMetadata('Newscoop\PaywallBundle\Entity\Settings'), |
|
| 137 | - $this->em->getClassMetadata('Newscoop\PaywallBundle\Entity\UserSubscription'), |
|
| 138 | - $this->em->getClassMetadata('Newscoop\PaywallBundle\Entity\Trial'), |
|
| 139 | - $this->em->getClassMetadata('Newscoop\PaywallBundle\Entity\Discount'), |
|
| 140 | - $this->em->getClassMetadata('Newscoop\PaywallBundle\Entity\Duration'), |
|
| 141 | - $this->em->getClassMetadata('Newscoop\PaywallBundle\Entity\Order'), |
|
| 142 | - $this->em->getClassMetadata('Newscoop\PaywallBundle\Entity\Modification'), |
|
| 143 | - $this->em->getClassMetadata('Newscoop\PaywallBundle\Entity\Currency'), |
|
| 144 | - $this->em->getClassMetadata('Newscoop\PaywallBundle\Entity\SubscriptionTranslation'), |
|
| 134 | + $this->em->getClassMetadata('Newscoop\PaywallBundle\Entity\Subscription'), |
|
| 135 | + $this->em->getClassMetadata('Newscoop\PaywallBundle\Entity\SubscriptionSpecification'), |
|
| 136 | + $this->em->getClassMetadata('Newscoop\PaywallBundle\Entity\Settings'), |
|
| 137 | + $this->em->getClassMetadata('Newscoop\PaywallBundle\Entity\UserSubscription'), |
|
| 138 | + $this->em->getClassMetadata('Newscoop\PaywallBundle\Entity\Trial'), |
|
| 139 | + $this->em->getClassMetadata('Newscoop\PaywallBundle\Entity\Discount'), |
|
| 140 | + $this->em->getClassMetadata('Newscoop\PaywallBundle\Entity\Duration'), |
|
| 141 | + $this->em->getClassMetadata('Newscoop\PaywallBundle\Entity\Order'), |
|
| 142 | + $this->em->getClassMetadata('Newscoop\PaywallBundle\Entity\Modification'), |
|
| 143 | + $this->em->getClassMetadata('Newscoop\PaywallBundle\Entity\Currency'), |
|
| 144 | + $this->em->getClassMetadata('Newscoop\PaywallBundle\Entity\SubscriptionTranslation'), |
|
| 145 | 145 | ); |
| 146 | 146 | } |
| 147 | 147 | } |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | 'invalid_message' => 'paywall.manage.error.currency', |
| 31 | 31 | 'required' => true, |
| 32 | 32 | )) |
| 33 | - ->add('type', 'choice', array( |
|
| 33 | + ->add('type', 'choice', array( |
|
| 34 | 34 | 'label' => 'paywall.manage.label.paymenttype', |
| 35 | 35 | 'choices' => array( |
| 36 | 36 | 'P' => 'paywall.manage.label.paid', |