@php $type = isset($type) ? $type : false; $currency = base_currency(); $card_title = $card_title_tips = $card_sub_title = $card_sub_title_tips = $card_class = ''; $card_cta = isset($attr['cta']) ? $attr['cta'] : false; $card_id = (isset($attr['id']) && !empty($attr['id'])) ? ' id="'.$attr['id'].'"' : ''; $card_class = (isset($attr['class']) && !empty($attr['class'])) ? ' '.$attr['class'] : ''; if($type=='account') { $card_title = __("Available Balance"); $card_title_tips = __("Main account balance without locked or under progress."); $card_sub_title = __("Investment Account"); $card_sub_title_tips = __("Additional balance in your Investment account."); } if($type=='deposit' || $type=='withdraw') { $card_title = __("Total :Type", ['type' => __(ucfirst($type)) ]); $card_title_tips = __("The total :type amount without under progress.", ['type' => __(ucfirst($type)) ]); $card_sub_title = __("This Month"); $card_sub_title_tips = __("Than last month"); } @endphp @if(!empty($type))