U
    ;d!                     @   sH   d dl mZmZ d dlmZ dd Zdd Zdd Zd	d
 Zdd Z	dS )    )PlanPlanType)settingsc                 C   s   t jjtjd}d|iS )Nplan_durationmonthly_plans)r   objectsfilterr   Monthlyrequestplans r   L/var/www/html/UseVoiceDocker/src/apps/subscriptions/context/plans_context.pyr      s    r   c                 C   s   t jjtjd}d|iS )Nr   yearly_plans)r   r   r	   r   Yearlyr   r   r   r   r      s    r   c                 C   s   t jjtjd}d|iS )Nr   weekly_plans)r   r   r	   r   Weeklyr   r   r   r   r      s    r   c                 C   s4   dt tjjtjdtjjtjdtjjtjdiS )Nr   r   )zipr   r   r	   r   r   r
   r   r   r   r   r   	get_plans   s
    r   c                 C   s
   dt jiS )N	CLIENT_ID)r   PAYPAL_CLIENTIDr   r   r   r   paypal_info   s     r   N)
Zapps.subscriptions.modelsr   r   django.confr   r   r   r   r   r   r   r   r   r   <module>   s   