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(
|
||||
'payment',
|
||||
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(
|
||||
'npub',
|
||||
|
||||
Reference in New Issue
Block a user