<div class="ps-block--user-wellcome">
    <div class="ps-block__left">
        <img
            src="<?php echo e(auth('account')->user()->avatar_url); ?>"
            alt="<?php echo e(auth('account')->user()->name); ?>"
            class="avatar avatar-lg"
        />
    </div>
    <div class="ps-block__right">
        <p><?php echo e(trans('plugins/real-estate::dashboard.hello')); ?>, <?php echo e(auth('account')->user()->name); ?></p>
        <small><?php echo e(trans('plugins/real-estate::dashboard.joined_on', ['date' => auth('account')->user()->created_at->translatedFormat('M d, Y')])); ?></small>
    </div>
    <div class="ps-block__action">
        <a
            href="<?php echo e(route('public.account.logout')); ?>"
            title="<?php echo e(trans('plugins/real-estate::dashboard.header_logout_link')); ?>"
            onclick="event.preventDefault(); document.getElementById('logout-form').submit();"
        >
            <?php if (isset($component)) { $__componentOriginal73995948b3bd877b76251b40caf28170 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal73995948b3bd877b76251b40caf28170 = $attributes; } ?>
<?php $component = Botble\Icon\View\Components\Icon::resolve(['name' => 'ti ti-logout'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('core::icon'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Botble\Icon\View\Components\Icon::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal73995948b3bd877b76251b40caf28170)): ?>
<?php $attributes = $__attributesOriginal73995948b3bd877b76251b40caf28170; ?>
<?php unset($__attributesOriginal73995948b3bd877b76251b40caf28170); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal73995948b3bd877b76251b40caf28170)): ?>
<?php $component = $__componentOriginal73995948b3bd877b76251b40caf28170; ?>
<?php unset($__componentOriginal73995948b3bd877b76251b40caf28170); ?>
<?php endif; ?>
        </a>
    </div>
</div>

<?php if(RealEstateHelper::isEnabledCreditsSystem()): ?>
    <div class="ps-block--earning-count">
        <?php echo apply_filters('real_estate_account_dashboard_sidebar_top_account_credits_before', null); ?>


        <small><?php echo e(trans('plugins/real-estate::dashboard.credits')); ?></small>
        <h3 class="my-2"><?php echo e(number_format(auth('account')->user()->credits)); ?></h3>
        <a href="<?php echo e(route('public.account.packages')); ?>" target="_blank">
            <?php echo e(trans('plugins/real-estate::dashboard.buy_credits')); ?>

        </a>

        <?php echo apply_filters('real_estate_account_dashboard_sidebar_top_account_credits_after', null); ?>

    </div>
<?php endif; ?>
<?php /**PATH /home/agriwurd/capitalpropertiesandresidence.com/platform/plugins/real-estate/resources/views/themes/dashboard/layouts/sidebar-top.blade.php ENDPATH**/ ?>