migrate to gtea from bistbucket
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Authentication\Http\Requests\Settings;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class MailConfigUpdateRequest extends FormRequest
|
||||
{
|
||||
public function authorize()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
'MAIL_MAILER' => 'required|string|max:50',
|
||||
'MAIL_HOST' => 'required|string|max:255',
|
||||
'MAIL_PORT' => 'required|numeric',
|
||||
'MAIL_USERNAME' => 'nullable|string|max:255',
|
||||
'MAIL_PASSWORD' => 'nullable|string|max:255',
|
||||
'MAIL_FROM_ADDRESS' => 'required|email|max:255',
|
||||
'MAIL_FROM_NAME' => 'required|string|max:255',
|
||||
];
|
||||
}
|
||||
|
||||
public function message(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Authentication\Http\Requests\Settings;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class SAASSettingUpdateRequest extends FormRequest
|
||||
{
|
||||
public function authorize()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
'site_name' => 'nullable|string|max:255',
|
||||
'site_title' => 'nullable|string|max:255',
|
||||
'phone' => 'nullable|string|max:255',
|
||||
'office_phone' => 'nullable|string|max:255',
|
||||
'email' => 'nullable|string|max:255',
|
||||
'language' => 'nullable|string|max:255',
|
||||
'google_map' => 'nullable|string|max:255',
|
||||
'address' => 'nullable|string|max:255',
|
||||
'on_google_map' => 'nullable|string|max:255',
|
||||
'currency_symbol' => 'nullable|string|max:255',
|
||||
'logo' => 'nullable|string|max:255',
|
||||
'disabled_website' => 'nullable|string|max:255',
|
||||
'copyright_text' => 'nullable|string|max:255',
|
||||
'facebook_link' => 'nullable|string|max:255',
|
||||
'google_plus_link' => 'nullable|string|max:255',
|
||||
'youtube_link' => 'nullable|string|max:255',
|
||||
'whats_app_link' => 'nullable|string|max:255',
|
||||
'twitter_link' => 'nullable|string|max:255',
|
||||
'header_notice' => 'nullable|string|max:255',
|
||||
'app_version' => 'nullable|string|max:255',
|
||||
'app_url' => 'nullable|string|max:255',
|
||||
'bkash' => 'nullable|string|max:255',
|
||||
'paystack' => 'nullable|string|max:255',
|
||||
'razor_pay' => 'nullable|string|max:255',
|
||||
'stripe' => 'nullable|string|max:255',
|
||||
'ssl_commerz' => 'nullable|string|max:255',
|
||||
'pvit' => 'nullable|string|max:255',
|
||||
'paypal' => 'nullable|string|max:255',
|
||||
'paymob_accept' => 'nullable|string|max:255',
|
||||
'flutterwave' => 'nullable|string|max:255',
|
||||
'senang_pay' => 'nullable|string|max:255',
|
||||
'paytm' => 'nullable|string|max:255',
|
||||
'primary_color' => 'nullable|string|max:255',
|
||||
'secondary_color' => 'nullable|string|max:255',
|
||||
'primary_container_color' => 'nullable|string|max:255',
|
||||
'dark_primary_color' => 'nullable|string|max:255',
|
||||
'dark_secondary_color' => 'nullable|string|max:255',
|
||||
'dark_container_color' => 'nullable|string|max:255',
|
||||
'text_color' => 'nullable|string|max:255',
|
||||
'dark_text_color' => 'nullable|string|max:255',
|
||||
'sidebar_selected_bg_color' => 'nullable|string|max:255',
|
||||
'sidebar_selected_text_color' => 'nullable|string|max:255',
|
||||
'vercel_project_id' => 'nullable|string|max:255',
|
||||
'vercel_token' => 'nullable|string|max:255',
|
||||
];
|
||||
}
|
||||
|
||||
public function message(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Authentication\Http\Requests\Settings;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class SettingUpdateRequest extends FormRequest
|
||||
{
|
||||
public function authorize()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
'restaurant_name' => 'nullable|string|max:255',
|
||||
'site_title' => 'nullable|string|max:255',
|
||||
'phone' => 'nullable|string|max:255',
|
||||
'email' => 'nullable|string|max:255',
|
||||
'language' => 'nullable|string|max:255',
|
||||
'google_map' => 'nullable|string|max:255',
|
||||
'address' => 'nullable|string|max:255',
|
||||
'on_google_map' => 'nullable|string|max:255',
|
||||
'restaurant_code' => 'nullable|string|max:255',
|
||||
'currency_symbol' => 'nullable|string|max:255',
|
||||
'logo' => 'nullable|string|max:255',
|
||||
'mail_type' => 'nullable|string|max:255',
|
||||
'disabled_website' => 'nullable|string|max:255',
|
||||
'copyright_text' => 'nullable|string|max:255',
|
||||
'facebook_link' => 'nullable|string|max:255',
|
||||
'google_plus_link' => 'nullable|string|max:255',
|
||||
'youtube_link' => 'nullable|string|max:255',
|
||||
'whats_app_link' => 'nullable|string|max:255',
|
||||
'twitter_link' => 'nullable|string|max:255',
|
||||
'eiin_code' => 'nullable|string|max:255',
|
||||
'sms_gateway' => 'nullable|string|max:255',
|
||||
'bulk_sms_api_key' => 'nullable|string|max:255',
|
||||
'bulk_sms_sender_id' => 'nullable|string|max:255',
|
||||
'twilio_sid' => 'nullable|string|max:255',
|
||||
'twilio_token' => 'nullable|string|max:255',
|
||||
'twilio_from_number' => 'nullable|string|max:255',
|
||||
'header_notice' => 'nullable|string|max:255',
|
||||
'app_version' => 'nullable|string|max:255',
|
||||
'app_url' => 'nullable|string|max:255',
|
||||
'tagline' => 'nullable|string|max:255',
|
||||
'favicon' => 'nullable|string|max:255',
|
||||
'theme_color' => 'nullable|string|max:255',
|
||||
'background_image' => 'nullable|string|max:255',
|
||||
'tax_type' => 'nullable|string|max:255',
|
||||
'tax_percentage' => 'nullable|string|max:255',
|
||||
'service_charge' => 'nullable|string|max:255',
|
||||
'default_currency' => 'nullable|string|max:255',
|
||||
'billing_prefix' => 'nullable|string|max:255',
|
||||
'invoice_footer' => 'nullable|string|max:255',
|
||||
'enable_kitchen_print' => 'nullable|string|max:255',
|
||||
'enable_customer_copy' => 'nullable|string|max:255',
|
||||
'enable_online_order' => 'nullable|string|max:255',
|
||||
'delivery_charge' => 'nullable|string|max:255',
|
||||
'minimum_order_amount' => 'nullable|string|max:255',
|
||||
'auto_accept_order' => 'nullable|string|max:255',
|
||||
'estimated_preparation_time' => 'nullable|string|max:255',
|
||||
'slack_webhook_url' => 'nullable|string|max:255',
|
||||
'telegram_bot_token' => 'nullable|string|max:255',
|
||||
'telegram_chat_id' => 'nullable|string|max:255',
|
||||
'twilio_sms_enabled' => 'nullable|string|max:255',
|
||||
'email_notifications' => 'nullable|string|max:255',
|
||||
'whatsapp_notifications' => 'nullable|string|max:255',
|
||||
'auto_backup' => 'nullable|string|max:255',
|
||||
'report_timezone' => 'nullable|string|max:255',
|
||||
'data_retention_days' => 'nullable|string|max:255',
|
||||
'sidebar_collapsed' => 'nullable|string|max:255',
|
||||
'dark_mode' => 'nullable|string|max:255',
|
||||
'default_dashboard' => 'nullable|string|max:255',
|
||||
'razorpay_key' => 'nullable|string|max:255',
|
||||
'razorpay_secret' => 'nullable|string|max:255',
|
||||
'stripe_key' => 'nullable|string|max:255',
|
||||
'stripe_secret' => 'nullable|string|max:255',
|
||||
'cash_on_delivery' => 'nullable|string|max:255',
|
||||
'max_table_capacity' => 'nullable|string|max:255',
|
||||
'default_shift_start' => 'nullable|string|max:255',
|
||||
'default_shift_end' => 'nullable|string|max:255',
|
||||
'auto_logout_idle_minutes' => 'nullable|string|max:255',
|
||||
'primary_color' => 'nullable|string|max:255',
|
||||
'secondary_color' => 'nullable|string|max:255',
|
||||
'primary_container_color' => 'nullable|string|max:255',
|
||||
'dark_primary_color' => 'nullable|string|max:255',
|
||||
'dark_secondary_color' => 'nullable|string|max:255',
|
||||
'dark_container_color' => 'nullable|string|max:255',
|
||||
'text_color' => 'nullable|string|max:255',
|
||||
'dark_text_color' => 'nullable|string|max:255',
|
||||
'sidebar_selected_bg_color' => 'nullable|string|max:255',
|
||||
'sidebar_selected_text_color' => 'nullable|string|max:255',
|
||||
'is_online' => 'nullable|string|max:255',
|
||||
'latitude' => 'nullable|string|max:255',
|
||||
'longitude' => 'nullable|string|max:255',
|
||||
'delivery_radius_km' => 'nullable|string|max:255',
|
||||
'delivery_fee' => 'nullable|string|max:255',
|
||||
'delivery_partner_count' => 'nullable|string|max:255',
|
||||
'delivery_time_avg' => 'nullable|string|max:255',
|
||||
'pickup_enabled' => 'nullable|string|max:255',
|
||||
'opening_time' => 'nullable|string|max:255',
|
||||
'closing_time' => 'nullable|string|max:255',
|
||||
'auto_accept_orders' => 'nullable|string|max:255',
|
||||
'pre_order_enabled' => 'nullable|string|max:255',
|
||||
'max_order_capacity' => 'nullable|string|max:255',
|
||||
'avg_rating' => 'nullable|string|max:255',
|
||||
'review_count' => 'nullable|string|max:255',
|
||||
'total_orders' => 'nullable|string|max:255',
|
||||
'last_order_time' => 'nullable|string|max:255',
|
||||
'last_active_time' => 'nullable|string|max:255',
|
||||
'loyalty_points_enabled' => 'nullable|string|max:255',
|
||||
'offers_enabled' => 'nullable|string|max:255',
|
||||
'social_media_links' => 'nullable',
|
||||
'settings' => 'nullable',
|
||||
'uuid' => 'nullable',
|
||||
];
|
||||
}
|
||||
|
||||
public function message(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user