mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2025-12-13 05:26:47 +00:00
feat(EinundzwanzigPlebTable): update payment calculation logic
This commit is contained in:
@@ -78,7 +78,7 @@ final class EinundzwanzigPlebTable extends PowerGridComponent
|
|||||||
->add(
|
->add(
|
||||||
'payment',
|
'payment',
|
||||||
fn(EinundzwanzigPleb $model)
|
fn(EinundzwanzigPleb $model)
|
||||||
=> $model->paymentEvents->count() > 0 ? $model->paymentEvents->first()->amount : 'keine Zahlung vorhanden',
|
=> $model->paymentEvents->count() > 0 && $model->paymentEvents->first()->paid ? $model->paymentEvents->first()->amount : 'keine Zahlung vorhanden',
|
||||||
)
|
)
|
||||||
->add(
|
->add(
|
||||||
'npub',
|
'npub',
|
||||||
|
|||||||
Reference in New Issue
Block a user