@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 = __("Your Capital"); $card_title_tips = __("Your total invested amount including profits."); $card_sub_title = __("Invested"); $card_sub_title_tips = __("Amount running in investment."); } if($type=='deposit') { $card_title = __("Your Profit Share (60%)"); $card_title_tips = __("Your approximate profit till now for this month"); $card_sub_title = __("Gross Profit"); $card_sub_title_tips = __("Gross profit of the company this month till now."); } if($type=='withdraw') { $card_title = __("Total :Type", ['type' => __(ucfirst($type)) ]); $card_title_tips = __("Total amount withdrawn including profit"); $card_sub_title = __("This Month"); $card_sub_title_tips = __("Than last month"); } @endphp @if(!empty($type))