diff --git a/Resources/views/exportPdf.blade.php b/Resources/views/exportPdf.blade.php index c35c5b0..ff9c6c8 100644 --- a/Resources/views/exportPdf.blade.php +++ b/Resources/views/exportPdf.blade.php @@ -77,33 +77,16 @@ @endphp @foreach ($data['DataAccounts'] as $val) - @php - $months =""; - if ($val['TERM'] != '') { - $arrData = substr($val['TERM'],-1); - if($arrData = 'Y'){ - $monthsInYear = 12; - $months = intval(substr($val['TERM'], 0, -1)) * $monthsInYear; - // $term = $days; - }elseif ($arrData = 'D') { - $averageDaysInMonth = 30.44; - $months = intval(substr($val['TERM'], 0, -1)) / $averageDaysInMonth; - // return $days; - }else{ - $months = intval($val['TERM']); - } - } - @endphp