@php
$added_month = date('n', strtotime($row->ProjectAddedDate));
$year = date('Y', strtotime($row->ProjectAddedDate));
$current_year = $added_month >= 4 ? $year : $year - 1;
$next_year = $current_year + 1;
$d1 = $t1 = '';
if (!empty($financial_bid)) {
$str = json_decode($financial_bid->dates, true);
$d1 = date('d-m-Y', strtotime($str['price_bid_date']));
$t1 = date('H:i', strtotime($str['price_bid_time']));
}
$type = !empty($letter_of_intend) ? $letter_of_intend->letter_type : '';
@endphp