

<?php $__env->startSection('content'); ?>
<div class="max-w-xl mx-auto p-6 bg-white shadow rounded space-y-4">
    <h2 class="text-xl font-semibold">WhatsApp Manual Chat</h2>

    <?php if(session('success')): ?>
        <div class="bg-green-100 text-green-800 p-2 rounded">
            <?php echo e(session('success')); ?>

        </div>
    <?php endif; ?>

    <form method="POST" action="<?php echo e(route('admin.whatsapp.chat.send')); ?>" class="space-y-4">
        <?php echo csrf_field(); ?>
        <div>
            <label class="block text-sm font-medium mb-1">Recipient WhatsApp Number</label>
            <input type="text" name="to" placeholder="e.g. 919876543210" required
                class="w-full p-2 border rounded">
        </div>

        <div>
            <label class="block text-sm font-medium mb-1">Message</label>
            <textarea name="message" rows="4" required
                class="w-full p-2 border rounded"></textarea>
        </div>

        <div>
            <button type="submit"
                class="px-4 py-2 bg-green-600 text-white rounded hover:bg-green-700">
                Send Message
            </button>
        </div>
    </form>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\Sw_arif\realState\resources\views/backend/admin/whatsapp-chat.blade.php ENDPATH**/ ?>