@extends('app') @section('content') @include('layout.admin_sidebar')
| # | Plan Name | Monthly Price | Monthly Price Split -Retained by FMS /Pay out for Fundraiser | Annual Price | Annual Price Split -Retained by FMS / Pay out for Fundraiser | Platform Fee | Status | Actions |
|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $item['name'] }} | {{ '$' . number_format(floatval(str_replace(['$', ','], '', $item['monthly_amount'])), 2) }} | @php $monthlyTaken = !empty($item['monthly_taken']) ? floatval(str_replace(['$', ','], '', $item['monthly_taken'])) : 0; $monthlyAmount = !empty($item['monthly_amount']) ? floatval(str_replace(['$', ','], '', $item['monthly_amount'])) : 0; $difference = $monthlyAmount - $monthlyTaken; @endphp {{ '$' . number_format($monthlyTaken, 2) }} / ${{ number_format($difference, 2) }} | {{ '$' . number_format(floatval(str_replace(['$', ','], '', $item['yearly_amount'])), 2) }} | {{ '$' . number_format(floatval(str_replace(['$', ','], '', $item['yearly_taken'])), 2) }} / @php $annuallyAmount = floatval( str_replace(['$', ','], '', $item['yearly_amount']), ); $annuallyTaken = floatval( str_replace(['$', ','], '', $item['yearly_taken']), ); $difference = $annuallyAmount - $annuallyTaken; @endphp ${{ number_format($difference, 2) }} | {{ '$' . number_format(floatval(str_replace(['$', ','], '', $item['platformfee'])), 2) }} |
Edit
|
|
| No Payment Plans Are Available. | ||||||||