<?php
    $pbFlashPayload = [
        'success' => session('success'),
        'error' => session('error'),
        'warning' => session('warning'),
        'info' => session('info'),
        'flash_modal' => session('flash_modal'),
        'validation_errors' => (isset($errors) && $errors->any()) ? $errors->all() : null,
    ];
?>
<script type="application/json" id="pb-flash-payload"><?php echo json_encode($pbFlashPayload, 15, 512) ?></script>
<?php /**PATH C:\xampp\htdocs\ispbilling\resources\views/partials/turbo-frame-flash.blade.php ENDPATH**/ ?>