|
|
@@ -95,6 +95,9 @@ class Producer extends ActiveRecordCommon |
|
|
|
const ORDER_REFERENCE_TYPE_NONE = '' ; |
|
|
|
const ORDER_REFERENCE_TYPE_YEARLY = 'yearly' ; |
|
|
|
|
|
|
|
const ORDER_ENTRY_POINT_DATE = 'date' ; |
|
|
|
const ORDER_ENTRY_POINT_POINT_SALE = 'point-sale' ; |
|
|
|
|
|
|
|
var $secret_key_payplug; |
|
|
|
|
|
|
|
/** |
|
|
@@ -136,7 +139,7 @@ class Producer extends ActiveRecordCommon |
|
|
|
} |
|
|
|
}], |
|
|
|
[['description', 'mentions', 'gcs', 'order_infos', 'slug', 'secret_key_payplug', 'background_color_logo', 'option_behavior_cancel_order', 'tiller_provider_token', 'tiller_restaurant_token', 'status', |
|
|
|
'document_infos_bottom', 'document_infos_quotation', 'document_infos_invoice', 'document_infos_delivery_note', 'address', 'behavior_home_point_sale_day_list', 'behavior_order_select_distribution', 'option_payment_info', 'option_order_reference_type'], 'string'], |
|
|
|
'document_infos_bottom', 'document_infos_quotation', 'document_infos_invoice', 'document_infos_delivery_note', 'address', 'behavior_home_point_sale_day_list', 'behavior_order_select_distribution', 'option_payment_info', 'option_order_reference_type', 'option_order_entry_point'], 'string'], |
|
|
|
[['negative_balance', 'credit', 'active', 'online_payment', 'user_manage_subscription', 'option_allow_user_gift', 'use_credit_checked_default', 'tiller', 'document_display_orders_invoice', 'document_display_orders_delivery_note', 'document_display_prices_delivery_note', 'option_email_confirm', 'option_email_confirm_producer', 'option_csv_export_all_products', 'option_csv_export_by_piece', 'option_export_display_product_reference', 'option_allow_order_guest'], 'boolean'], |
|
|
|
[['name', 'siret', 'logo', 'photo', 'postcode', 'city', 'code', 'type', 'credit_functioning', 'option_behavior_cancel_order', 'document_quotation_prefix', 'document_quotation_first_reference', 'document_invoice_prefix', 'document_invoice_first_reference', 'document_delivery_note_prefix', 'document_delivery_note_first_reference'], 'string', 'max' => 255], |
|
|
|
[['free_price', 'credit_limit_reminder', 'credit_limit'], 'double'], |
|
|
@@ -229,6 +232,7 @@ class Producer extends ActiveRecordCommon |
|
|
|
'option_order_reference_type' => 'Type de référence', |
|
|
|
'option_export_display_product_reference' => 'Afficher la référence des produits au moment de l\'export', |
|
|
|
'option_allow_order_guest' => 'Autoriser les visiteurs à passer commande (création de compte à la fin du tunnel)', |
|
|
|
'option_order_entry_point' => 'Point d\'entrée par point de vente ou par date' |
|
|
|
]; |
|
|
|
} |
|
|
|
|