
    h                        d dl mZ ddl  ej                  e       G d dej
                               Z ej                  e       G d dej
                               Z ej                  e	       G d d	ej
                               Z
 ej                  e       G d
 dej
                               Z ej                  e       G d dej
                               Z G d dej                        Z ej                  e       G d dej
                               Z ej                  e       G d dej
                               Z ej                  e       G d dej
                               Zy)    )admin   )*c                   *    e Zd Zg dZdgZddgZddgZy)ServiceAdmin)name	is_activeorder
created_atr	   r   descriptionr
   N__name__
__module____qualname__list_displaylist_filtersearch_fieldslist_editable     $/var/www/tech_portal/portal/admin.pyr   r      s"    ?L-K]+M '*Mr   r   c                   &    e Zd Zg dZdgZdgZdgZy)ProductCategoryAdmin)r   parentr
   r   r   r
   Nr   r   r   r   r   r      s    .L*KHMIMr   r   c                   *    e Zd Zg dZg dZg dZdgZy)ProductAdmin)r   brandmodelcategoryr	   r   )r   r   r	   )r   r   r   r	   Nr   r   r   r   r   r      s    TL4K.M MMr   r   c                   (    e Zd Zg dZg dZddgZdZy)PriceRecordAdmin)productplatformpricesupplieris_valid
fetched_at)r#   r&   r'   product__namer%   r'   N)r   r   r   r   r   r   date_hierarchyr   r   r   r!   r!      s    YL8K$j1M!Nr   r!   c                   "    e Zd Zg dZg dZdgZy)CustomerAdmin)r   contact_personphoneemailr   )r   r,   r-   r   N)r   r   r   r   r   r   r   r   r   r+   r+       s    ML7M.Kr   r+   c                       e Zd ZeZdZy)QuotationItemInliner   N)r   r   r   QuotationItemr   extrar   r   r   r0   r0   &   s    EEr   r0   c                   0    e Zd Zg dZddgZg dZegZdgZy)QuotationAdmin)quotation_nocustomertitlestatustotal_amountr   r8   r   )r5   customer__namer7   r5   N)	r   r   r   r   r   r   r0   inlinesreadonly_fieldsr   r   r   r4   r4   *   s&    `L\*K?M"#G%&Or   r4   c                       e Zd Zg dZy)CompanyInfoAdmin)r   r-   r.   websiteN)r   r   r   r   r   r   r   r>   r>   2   s    8Lr   r>   c                   ,    e Zd Zg dZg dZg dZddgZy)ContactMessageAdmin)r   r-   subjectis_read
is_repliedr   )rC   rD   r   )r   r-   rB   rC   rD   Nr   r   r   r   rA   rA   6   s    VL9K0M-Mr   rA   N)django.contribr   modelsregisterService
ModelAdminr   ProductCategoryr   Productr   PriceRecordr!   Customerr+   TabularInliner0   	Quotationr4   CompanyInfor>   ContactMessagerA   r   r   r   <module>rR      s{     +5## + +  5++  ! "5## " " "u'' " " !E$$ ! !
%--  	'U%% ' ' 9u'' 9 9 .%** .  .r   