headTitle($this->translate('My Fines')); // Set up breadcrumbs: $this->layout()->breadcrumbs = '
  • ' . $this->transEsc('Your Account') . '
  • ' . $this->transEsc('Fines') . '
  • '; ?> component('show-account-menu-button')?>

    transEsc('Your Fines')?>

    flashmessages()?> context($this)->renderInContext('librarycards/selectcard.phtml', ['user' => $this->auth()->getUserObject()]); ?> fines)): ?> transEsc('You do not have any fines')?> fines as $record) { if (empty($record['title'])) { $title = $this->transEsc('not_applicable'); } elseif (!is_object($record['driver'] ?? null)) { $title = $this->escapeHtml(trim($record['title'], '/:')); } else { $title = '' . $this->escapeHtml(trim($record['title'], '/:')) . ''; } $tableData['Title'][] = $title; $tableData['Checked Out'][] = $this->escapeHtml($record['checkout'] ?? ''); $tableData['Due Date'][] = $this->escapeHtml($record['duedate'] ?? ''); $tableData['Fine'][] = $this->transEsc($record['fine'] ?? ''); $tableData['Fine Description'][] = $this->transEsc($record['description'] ?? ''); $tableData['Fine Date'][] = $this->escapeHtml($record['createdate'] ?? ''); $tableData['Fee'][] = isset($record['amount']) ? $this->safeMoneyFormat($record['amount'] / 100.00) : ''; $tableData['Balance'][] = isset($record['balance']) ? $this->safeMoneyFormat($record['balance'] / 100.00) : ''; $totalDue += $record['balance'] ?? 0; } // Now empty out any unused columns: foreach ($tableData as $column => $values) { $empty = true; foreach ($values as $value) { if ('' !== (string)$value) { $empty = false; break; } } if ($empty) { unset($tableData[$column]); } } // Create the final list of columns and count of rows: $columns = array_keys($tableData); $rowCount = count($this->fines); ?>
    transEsc('Your Fines')?>
    transEsc($header)?>
    transEsc('Total Balance Due')?> safeMoneyFormat($totalDue / 100.00) ?>
    render('myresearch/notify-account-status.phtml', ['method' => 'fines', 'accountStatus' => $this->accountStatus]); ?>