@php $platformFee = \App\Models\WabaPlatformSetting::billing('self_service_platform_fee', 50); $platformFeePercent = \App\Models\WabaPlatformSetting::billing('self_service_platform_fee_percent', 0); $lowBalanceThreshold = \App\Models\WabaPlatformSetting::billing('low_balance_threshold', 10000); $defaultMessagePrice = \App\Models\WabaPlatformSetting::billing('default_message_price', 366); @endphp
Konfigurasi biaya platform dan harga pesan
Biaya yang dibebankan ke client Self Service per pesan. Bisa berupa fixed fee, persentase, atau kombinasi keduanya.
@foreach($settings[$groupKey] ?? [] as $setting) @if($setting['key'] === 'self_service_platform_fee')
Jika biaya Meta = Rp 300, Fee Fixed = Rp 50, Fee % = 10%
Total = Rp 300 + Rp 50 + (10% × 300) = Rp 380