Format Standard Pesan Koneksi Internet Terisolir
{{ __('device.button.cancel') }} {{ __('device.button.update') }}
@php $replace = [ '%company%' => env('APP_NAME'), '%name%' => auth()->user()->full_name, '%email%' => auth()->user()->email, '%address%' => auth()->user()->user_address->address, '%customer_id%' => auth()->user()->id, '%invoice_number%' => 'INV-12345678', '%transaction_id%' => 'TR-12345678', '%paket%' => \App\Models\Pakets\Paket::where('price', '>', 0)->first()->name ?? ' Nama Paket', '%periode%' => \Carbon\Carbon::now()->startOfMonth()->format('d F Y - ') . \Carbon\Carbon::now()->endOfMonth()->format('d F Y'), '%bill%' => 'Rp.' . number_format(\App\Models\Pakets\Paket::where('price', '>', 0)->first()->price ?? 250000, 2), '%teller%' => auth()->user()->full_name, '%payment_time%' => Carbon\Carbon::now()->format('d F Y H:i:s'), '%payment_methode%' => 'Cash' ]; $message = str_replace(array_keys($replace), $replace, $input['pesan']); @endphp