🎉 Purchase Receipt
Product: {{ $investment->ubiPackage->name }}
Quantity: {{ $investment->quantity }}
Duration: {{ $investment->duration }} months
@php
$total = $investment->ubiPackage->price * $investment->quantity;
$rate = 0.03;
$name = strtolower($investment->ubiPackage->name);
if (str_contains($name, 'airtime')) $rate = 0.10;
elseif (str_contains($name, 'data')) $rate = 0.05;
$bonus = $investment->duration === 3 ? 0.01 : ($investment->duration === 6 ? 0.025 : 0);
$incentive = ($rate + $bonus) * $total;
$totalIncentives = $incentive * $investment->duration;
@endphp
Total Price: ₦{{ number_format($total) }}
Estimated Monthly Incentive: ₦{{ number_format($incentive, 2) }}
Total Incentives ({{ $investment->duration }} months): ₦{{ number_format($totalIncentives, 2) }}
💳 Make Payment To:
Bank: Access Bank
Account Name: Netkings Telecoms
Account Number: 1234567890
Use Your Name as Narration
Go to dashboard