| @@ -49,8 +49,13 @@ | ||
| 49 | 49 | |
| 50 | 50 | return $data; |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | + /** | |
| 54 | + * Attach payment summaries to the supplied submission rows. | |
| 55 | + * | |
| 56 | + * @param iterable<\FluentForm\App\Models\Submission|\stdClass> $items | |
| 57 | + */ | |
| 53 | 58 | public static function addRowPayments($rows, $items, $formId) |
| 54 | 59 | { |
| 55 | 60 | try { |
| 56 | 61 | $formId = (int) $formId; |
| @@ -94,8 +99,10 @@ | ||
| 94 | 99 | /** |
| 95 | 100 | * Compact, agent-sized block: status, formatted total, currency, method, |
| 96 | 101 | * transaction count, and subscription status/interval. Never raw cents, |
| 97 | 102 | * payment_note, vendor_response, or original_plan. |
| 103 | + * | |
| 104 | + * @param \FluentForm\App\Models\Submission|\stdClass $submission | |
| 98 | 105 | */ |
| 99 | 106 | private static function buildPayment($submission) |
| 100 | 107 | { |
| 101 | 108 | // The submission row already carries the payment columns; when none is |