Reduce Transfer storage price to GHS 0.15 per GB per month.
Deploy Ladill Transfer / deploy (push) Successful in 40s
Deploy Ladill Transfer / deploy (push) Successful in 40s
Updates config default, env examples, and removes hardcoded GHS 1.00 copy on the dashboard. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -61,7 +61,7 @@ class AccountController extends Controller
|
||||
|
||||
$storageBytes = (int) $activeTransfers->sum('storage_bytes');
|
||||
$storageGb = round($storageBytes / (1024 * 1024 * 1024), 2);
|
||||
$pricePerGb = (float) config('transfer.price_per_gb_month', 1.0);
|
||||
$pricePerGb = (float) config('transfer.price_per_gb_month', 0.15);
|
||||
$monthlyTotalGhs = round($activeTransfers->sum(fn (Transfer $transfer) => $transfer->monthlyCostGhs()), 2);
|
||||
|
||||
return view('qr.account.billing', [
|
||||
|
||||
Reference in New Issue
Block a user