3

‘ã\1  ã               @   s
  d dl mZ d dlmZ eddƒZeddƒZeddƒZeddƒZeddƒZedd	ƒZ	edd
ƒZ
eddƒZeddƒZeddƒZeddƒZeddƒZeddƒZeddƒZeddƒZG dd„ dejƒZG dd„ dejƒZG dd„ dejƒZG dd„ dejƒZG dd„ dejƒZG dd„ dejƒZG dd „ d ejƒZG d!d"„ d"ejƒZG d#d$„ d$ejƒZejjeeƒ ejjeƒ ejjeƒ ejje	ƒ ejje
eƒ ejjeeƒ ejjeƒ ejjeeƒ ejjeeƒ ejjeeƒ ejjeƒ ejjeeƒ ejjeƒ ejjeƒ d%S )&é    )Úadmin)Ú	get_modelÚorderÚOrderÚ	OrderNoteÚOrderStatusChangeÚCommunicationEventÚBillingAddressÚShippingAddressÚLineÚ	LinePriceÚShippingEventÚShippingEventTypeÚPaymentEventÚPaymentEventTypeÚPaymentEventQuantityÚLineAttributeÚOrderDiscountc               @   s   e Zd ZeZdZdS )Ú
LineInliner   N)Ú__name__Ú
__module__Ú__qualname__r   ÚmodelÚextra© r   r   ú1/var/www/html/oscar2019/oscar/apps/order/admin.pyr      s   r   c               @   s$   e Zd ZdddgZdZdZegZdS )Ú
OrderAdminÚuserÚbilling_addressÚshipping_addressÚnumberÚtotal_incl_taxÚsiteÚdate_placedÚtotal_excl_taxÚshipping_incl_taxÚshipping_excl_taxN)r    r!   r"   r   r   r#   )r    r!   r$   r%   r&   )r   r   r   Úraw_id_fieldsÚlist_displayÚreadonly_fieldsr   Úinlinesr   r   r   r   r      s   
  r   c               @   s   e Zd ZdZdS )Ú	LineAdminr   ÚproductÚstockrecordÚquantityN)r   r,   r-   r.   )r   r   r   r(   r   r   r   r   r+   $   s   r+   c               @   s   e Zd ZdZdS )ÚLinePriceAdminr   ÚlineÚprice_incl_taxr.   N)r   r0   r1   r.   )r   r   r   r(   r   r   r   r   r/   (   s   r/   c               @   s   e Zd ZdZdS )ÚShippingEventTypeAdminÚnameN)r3   )r   r   r   r(   r   r   r   r   r2   ,   s   r2   c               @   s   e Zd ZeZdZdS )ÚPaymentEventQuantityInliner   N)r   r   r   r   r   r   r   r   r   r   r4   0   s   r4   c               @   s   e Zd ZdZegZdS )ÚPaymentEventAdminr   Ú
event_typeÚamountÚnum_affected_linesÚdate_createdN)r   r6   r7   r8   r9   )r   r   r   r(   r4   r*   r   r   r   r   r5   5   s    r5   c               @   s   e Zd ZdS )ÚPaymentEventTypeAdminN)r   r   r   r   r   r   r   r:   ;   s   r:   c               @   s   e Zd ZdZdZd
S )ÚOrderDiscountAdminr   ÚcategoryÚoffer_idÚ
offer_nameÚ
voucher_idÚvoucher_coder7   ÚofferÚvoucherN)r   r<   r=   r>   r?   r@   r7   )r   r<   rA   rB   r@   r7   )r   r   r   r)   r(   r   r   r   r   r;   ?   s     r;   N) Údjango.contribr   Zoscar.core.loadingr   r   r   r   r   r	   r
   r   r   r   r   r   r   r   r   r   ÚTabularInliner   Ú
ModelAdminr   r+   r/   r2   r4   r5   r:   r;   r"   Úregisterr   r   r   r   Ú<module>   sN   














	