mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2025-12-14 06:36:46 +00:00
🎨 feat(profile): filter payment events by paid status in the association profile view
This commit is contained in:
@@ -127,6 +127,7 @@ $listenForPayment = function () {
|
|||||||
$paymentEvent->save();
|
$paymentEvent->save();
|
||||||
$this->payments = $this->currentPleb
|
$this->payments = $this->currentPleb
|
||||||
->paymentEvents()
|
->paymentEvents()
|
||||||
|
->where('paid', true)
|
||||||
->get();
|
->get();
|
||||||
$this->currentYearIsPaid = true;
|
$this->currentYearIsPaid = true;
|
||||||
}
|
}
|
||||||
@@ -135,6 +136,7 @@ $listenForPayment = function () {
|
|||||||
$this->currentYearIsPaid = true;
|
$this->currentYearIsPaid = true;
|
||||||
$this->payments = $this->currentPleb
|
$this->payments = $this->currentPleb
|
||||||
->paymentEvents()
|
->paymentEvents()
|
||||||
|
->where('paid', true)
|
||||||
->get();
|
->get();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user