Monthly Fee
+₱{{ Number(subscription.monthly_fee).toLocaleString() }}
+SMS Cost / Message
+₱{{ subscription.sms_cost_per_message }}
+Billing Cycle
+{{ subscription.cycle }}
+Next Billing
++ {{ new Date(subscription.next_billing_date).toLocaleDateString('en-PH', { year: 'numeric', month: 'short', day: 'numeric' }) }} +
+No invoices yet
+| Invoice # | Period | -Amount | +Subscription | +SMS | +Total | Status | -Due Date | +Due | ||
|---|---|---|---|---|---|---|---|---|---|---|
| {{ inv.invoice_number }} | -{{ inv.billing_period_start }} — {{ inv.billing_period_end }} | -PHP {{ Number(inv.total_amount).toLocaleString() }} | +{{ inv.invoice_number }} | ++ {{ fmtDate(inv.billing_period_start) }} — {{ fmtDate(inv.billing_period_end) }} + | +₱{{ Number(inv.subscription_amount).toLocaleString() }} | +₱{{ Number(inv.sms_credit_amount).toLocaleString() }} | +₱{{ Number(inv.total_amount).toLocaleString() }} | {{ inv.due_date || '—' }} | ++ {{ inv.due_date ? new Date(inv.due_date).toLocaleDateString('en-PH', { month: 'short', day: 'numeric', year: 'numeric' }) : '—' }} + |
+ {{ data.school.status === 'suspended' ? 'Account Suspended' : 'Account Inactive' }} +
++ {{ data.school.status === 'suspended' + ? 'SMS sending and reports are disabled. Please contact support or settle any outstanding invoices.' + : 'Your account is not yet active. Please contact support.' }} +
+Low SMS Credits
+
+ You have {{ data.sms_credits }} credits remaining
+ (threshold: {{ data.sms_credit_low_threshold }}).
+
{{ data?.school?.name }}
Status
Expires
{{ data.license.expires_at ? new Date(data.license.expires_at).toLocaleDateString() : 'Never' }}
Last Online
{{ data.license.last_seen ? new Date(data.license.last_seen).toLocaleString() : '—' }}
License Key
{{ data.license.key }}
+ Low credit threshold: {{ data?.sms_credit_low_threshold }} credits +
+ +{{ a.title }}
-{{ a.body }}
+{{ a.title }}
+{{ a.body }}
School Admin
School Name
+{{ schoolData.school.name }}
+City
+{{ schoolData.school.city || '—' }}
+Contact Name
+{{ schoolData.school.contact_name || '—' }}
+Contact Email
+{{ schoolData.school.contact_email || '—' }}
+Contact Phone
+{{ schoolData.school.contact_phone || '—' }}
+Tier
+{{ schoolData.school.tier }}
+Account Status
++ To update school details, please contact TapTrack support. +
++ {{ statusFilter ? `No ${statusFilter.replace('_', ' ')} tickets` : 'No tickets yet' }} +
++ {{ statusFilter ? 'Try a different filter' : 'Click "New Ticket" to contact support' }} +
+| Subject | Category | Status | -Date | +Opened | |
|---|---|---|---|---|---|
| {{ t.ticket_number }} | {{ t.subject }} | {{ t.category }} | {{ new Date(t.created_at).toLocaleDateString() }} | ++ {{ new Date(t.created_at).toLocaleDateString('en-PH', { year: 'numeric', month: 'short', day: 'numeric' }) }} + |