<x-mail.layout
    :heading="__('dunning_mail.heading_resumed')"
    :preheader="__('dunning_mail.preheader_resumed')"
    :greeting="$name !== '' ? __('dunning_mail.greeting', ['name' => $name]) : null"
>

<tr><td style="padding:0 24px 20px 24px;">
    <p style="margin:0;font-size:15px;line-height:24px;color:#43434e;">{{ __('dunning_mail.intro_resumed') }}</p>
</td></tr>

@if ($amountCents + $feeTotalCents > 0)
    <tr><td style="padding:0 24px 20px 24px;">
        <p style="margin:0;font-size:15px;line-height:24px;color:#43434e;">
            {{ __('dunning_mail.outstanding', ['amount' => number_format(($amountCents + $feeTotalCents) / 100, 2, ',', '.').' '.$currency]) }}
        </p>
    </td></tr>
@endif

<tr><td style="padding:0 24px 32px 24px;">
    <table role="presentation" cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;">
        <tr><td align="center" bgcolor="#b8500a" style="background-color:#b8500a;border-radius:8px;">
            <a href="{{ $billingUrl }}" style="display:inline-block;padding:13px 26px;font-family:'IBM Plex Sans',-apple-system,Helvetica,Arial,sans-serif;font-size:15px;line-height:20px;font-weight:600;color:#ffffff;text-decoration:none;border-radius:8px;">{{ __('dunning_mail.action_resumed') }}</a>
        </td></tr>
    </table>
</td></tr>

</x-mail.layout>
