
<?php $__env->startPush('title'); ?>
    <?php echo e($pageTitle); ?>

<?php $__env->stopPush(); ?>
<?php $__env->startSection('content'); ?>

    <div class="page-content-wrapper bda-pb-100 bda-pt-30 bda-px-18 ">
        <div class="bda-mb-30">
            <!-- breadcrumb  -->
            <nav aria-label="breadcrumb">
                <ol class="breadcrumb bda-breadcrumb">
                    <li class="breadcrumb-item title-light"><?php echo e($previousBreadcrumb); ?></a></li>
                    <li class="breadcrumb-item active " aria-current="page"><?php echo e($breadcrumb); ?></li>
                </ol>
            </nav>
        </div>
        <!-- data table area start -->
        <div class="bda-table-data overflow-x-auto">
            <div class="bda-card-area-box">
                <div class="row">
                    <div class="col-12">
                        <div class="bda-card-box">
                            <form class="ajax" action="<?php echo e(route('admin.settings.credit-configuration.update')); ?>"
                                  method="POST" data-callback="formResponse">
                                <?php echo csrf_field(); ?>
                                <div class="row">
                                    <h5 class="bda-fs-24 bda-mb-10 title-light"><?php echo e(__('Conversation')); ?></h5>
                                    <div class="col-md-12 bda-from-box">
                                        <label for="" class="bda-text-label"><?php echo e(__('Per Conversation')); ?></label>
                                        <input type="text"
                                               class="bda-from-control <?php $__errorArgs = ['chatbot_conversation_credit'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                               name="chatbot_conversation_credit" placeholder="<?php echo e(__('0')); ?>"
                                               value="<?php echo e(old('chatbot_conversation_credit') ?? $creditData?->chatbot_conversation_credit); ?>">
                                        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['chatbot_conversation_credit'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                        <span class="invalid-feedback mb-3 mt-0 pt-0" role="alert">
                                            <strong><?php echo e($message); ?></strong>
                                        </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                                    </div>
                                </div>
                                <div class="row">
                                    <h5 class="bda-fs-24 bda-mb-10 title-light"><?php echo e(__('Training')); ?></h5>
                                    <div class="col-md-6 bda-from-box">
                                        <label for="" class="bda-text-label"><?php echo e(__('Individual Url')); ?></label>
                                        <input type="text"
                                               class="bda-from-control <?php $__errorArgs = ['chatbot_url_training_credit'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                               name="chatbot_url_training_credit" placeholder="<?php echo e(__('0')); ?>"
                                               value="<?php echo e(old('chatbot_url_training_credit') ?? $creditData?->chatbot_url_training_credit); ?>">
                                        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['chatbot_url_training_credit'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                        <span class="invalid-feedback mb-3 mt-0 pt-0" role="alert">
                                            <strong><?php echo e($message); ?></strong>
                                        </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                                    </div>
                                    <div class="col-md-6 bda-from-box">
                                        <label for="" class="bda-text-label"><?php echo e(__('Individual Pdf')); ?></label>
                                        <input type="text"
                                               class="bda-from-control <?php $__errorArgs = ['chatbot_pdf_training_credit'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                               name="chatbot_pdf_training_credit" placeholder="<?php echo e(__('0')); ?>"
                                               value="<?php echo e(old('chatbot_pdf_training_credit') ?? $creditData?->chatbot_pdf_training_credit); ?>">
                                        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['chatbot_pdf_training_credit'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                        <span class="invalid-feedback mb-3 mt-0 pt-0" role="alert">
                                            <strong><?php echo e($message); ?></strong>
                                        </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                                    </div>
                                    <div class="col-md-6 bda-from-box">
                                        <label for="" class="bda-text-label"><?php echo e(__('Plain Text')); ?></label>
                                        <input type="text"
                                               class="bda-from-control <?php $__errorArgs = ['chatbot_plain_text_training_credit'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                               name="chatbot_plain_text_training_credit" placeholder="<?php echo e(__('0')); ?>"
                                               value="<?php echo e(old('chatbot_plain_text_training_credit') ?? $creditData?->chatbot_plain_text_training_credit); ?>">
                                        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['chatbot_plain_text_training_credit'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                        <span class="invalid-feedback mb-3 mt-0 pt-0" role="alert">
                                            <strong><?php echo e($message); ?></strong>
                                        </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                                    </div>
                                    <div class="col-md-6 bda-from-box">
                                        <label for="" class="bda-text-label"><?php echo e(__('Individual QA')); ?></label>
                                        <input type="text"
                                               class="bda-from-control <?php $__errorArgs = ['chatbot_qa_training_credit'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                               name="chatbot_qa_training_credit" placeholder="<?php echo e(__('0')); ?>"
                                               value="<?php echo e(old('chatbot_qa_training_credit') ?? $creditData?->chatbot_qa_training_credit); ?>">
                                        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['chatbot_qa_training_credit'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                        <span class="invalid-feedback mb-3 mt-0 pt-0" role="alert">
                                            <strong><?php echo e($message); ?></strong>
                                        </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                                    </div>
                                </div>
                                <div class="row">
                                    <h5 class="bda-fs-24 bda-mb-10 title-light"><?php echo e(__('Branding')); ?></h5>
                                    <div class="col-md-6 bda-from-box">
                                        <label for="" class="bda-text-label"><?php echo e(__('Remove Branding')); ?></label>
                                        <input type="text"
                                               class="bda-from-control <?php $__errorArgs = ['branding_remove_credit'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                                               name="branding_remove_credit" placeholder="<?php echo e(__('0')); ?>"
                                               value="<?php echo e(old('branding_remove_credit') ?? $creditData?->branding_remove_credit); ?>">
                                        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['branding_remove_credit'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                        <span class="invalid-feedback mb-3 mt-0 pt-0" role="alert">
                                            <strong><?php echo e($message); ?></strong>
                                        </span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                                    </div>
                                </div>
                                <div>
                                    <button class="bda-btu-theme" type="submit"><?php echo e(__("Update")); ?></button>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- data table area end -->
    </div>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH D:\laragon\www\bdc-bot-laravel\resources\views/admin/settings/credit-configuration.blade.php ENDPATH**/ ?>