Commit dddffee
feat(gsAdmin): rework invoice-comparison summary + link receipt cells
Reshapes the admin invoice-comparison summary to lead with the parity
metric operators actually scan for: the share of compared (both-sided)
orgs whose per-org delta exceeds 1%. The Grid loses Legacy total,
Platform total, Total delta, and Rows (each either redundant with the
per-row data or duplicated by the paginator) so the headline ">1%
diff" stat has room to breathe alongside the existing Unmatched and
invoice-count stats; 7 cards collapses to 4.
Per-row, the Legacy and Platform `$` amount cells become `Link`s to
`/settings/{slug}/billing/receipts/{guid}/` whenever the row resolves
to exactly one invoice on that side (the typical case), using the new
`legacy_invoice_guids` / `platform_invoice_guids` fields the backend
companion change adds. Multi-invoice rows fall back to plain text -- a
single link can't represent N receipts and the count badge already
signals the cardinality.
Backend companion: getsentry feat(billing) commit, same Refs.
Refs REVENG-221
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 7c8f460 commit dddffee
1 file changed
Lines changed: 37 additions & 34 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
42 | | - | |
| 44 | + | |
| 45 | + | |
43 | 46 | | |
44 | | - | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| |||
87 | 89 | | |
88 | 90 | | |
89 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
90 | 108 | | |
91 | 109 | | |
92 | 110 | | |
| |||
405 | 423 | | |
406 | 424 | | |
407 | 425 | | |
408 | | - | |
| 426 | + | |
409 | 427 | | |
410 | 428 | | |
411 | 429 | | |
412 | | - | |
| 430 | + | |
413 | 431 | | |
414 | 432 | | |
415 | 433 | | |
| |||
431 | 449 | | |
432 | 450 | | |
433 | 451 | | |
434 | | - | |
| 452 | + | |
435 | 453 | | |
436 | 454 | | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
464 | 459 | | |
465 | 460 | | |
466 | 461 | | |
| |||
522 | 517 | | |
523 | 518 | | |
524 | 519 | | |
525 | | - | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
526 | 525 | | |
527 | 526 | | |
528 | 527 | | |
529 | 528 | | |
530 | 529 | | |
531 | | - | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
532 | 535 | | |
533 | 536 | | |
534 | 537 | | |
| |||
0 commit comments