<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag;

$__newAttributes = [];
$__propNames = \Illuminate\View\ComponentAttributeBag::extractPropNames((['transaction']));

foreach ($attributes->all() as $__key => $__value) {
    if (in_array($__key, $__propNames)) {
        $$__key = $$__key ?? $__value;
    } else {
        $__newAttributes[$__key] = $__value;
    }
}

$attributes = new \Illuminate\View\ComponentAttributeBag($__newAttributes);

unset($__propNames);
unset($__newAttributes);

foreach (array_filter((['transaction']), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
}

$__defined_vars = get_defined_vars();

foreach ($attributes->all() as $__key => $__value) {
    if (array_key_exists($__key, $__defined_vars)) unset($$__key);
}

unset($__defined_vars); ?>
<div class="mt-4 mb-2 tfss darkandgray" align="left"><?php echo e($transaction->date->format('M d, Y')); ?></div>
<a wire:navigate href="<?php echo e(route('account.transaction', $transaction->hash)); ?>" class="darkandwhite tuh m-0 p-0">
    <div class="col-12 mt-1 px-0 mb-1 mx-0 pt-2" align="center">
        <div class="row m-0 p-0">
            <div class="col-2 ms-0 ps-0" align="left">
                <div class="agrcol agrof-3 tfs">
                    <button class="tk border bgdarkandgray p-0" align="center" type="button" style="width: 40px; height: 40px; border-radius: 50%;">
                        <i
                        class="<?php echo \Illuminate\Support\Arr::toCssClasses([
                            'bi darkandwhite fs-5',
                            'bi-arrow-down' => $transaction->type == 'receive',
                            'bi-arrow-up' => $transaction->type == 'send',
                            'bi-arrow-left-right' => $transaction->type == 'swap',
                        ]); ?>"
                        ></i>
                    </button>
                </div>
            </div>
            <div class="col-6 ps-0 pe-0" align="left">
                <span class="fss fw-bold"><?php echo e(ucfirst($transaction->type)); ?></span><br>
                
                <?php echo $__env->make('partials.transaction.card-details', ['type' => $transaction->type], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            </div>
            <div class="col-4 p-0 m-0 tfs" align="right">
                <div 
                    class="<?php echo \Illuminate\Support\Arr::toCssClasses([
                        'tj-success2' => $transaction->isCredit(),
                        'text-danger' => $transaction->isDebit(),
                    ]); ?>">
                    <?php echo e($transaction->full_amount); ?><br><?php echo e($transaction->coin->symbol); ?>

                </div>
            </div>
        </div>
    </div>
</a><?php /**PATH /home/infosfg/digixschain.com/resources/views/components/widgets/transaction-card.blade.php ENDPATH**/ ?>