mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2025-12-13 05:26:47 +00:00
🎨 feat(profile): update payment logic to retrieve payments for current year when paid
This commit is contained in:
@@ -131,6 +131,12 @@ $listenForPayment = function () {
|
|||||||
$this->currentYearIsPaid = true;
|
$this->currentYearIsPaid = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if ($paymentEvent->paid) {
|
||||||
|
$this->currentYearIsPaid = true;
|
||||||
|
$this->payments = $this->currentPleb
|
||||||
|
->paymentEvents()
|
||||||
|
->get();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
$save = function ($type) {
|
$save = function ($type) {
|
||||||
|
|||||||
Reference in New Issue
Block a user