@extends('mail.notifications.layout') @section('email-header') @endsection @section('content') @php $fileCount = $transfer->files->count(); $availableUntil = $transfer->isInGracePeriod() ? $transfer->grace_ends_at : $transfer->paid_until; $fmtBytes = function (int $bytes) { if ($bytes >= 1048576) { return number_format($bytes / 1048576, 1).' MB'; } if ($bytes >= 1024) { return number_format($bytes / 1024, 0).' KB'; } return $bytes.' B'; }; @endphp @if($milestone === 'created')

You have files to download

@if($senderName) {{ $senderName }} shared {{ $fileCount === 1 ? 'a file' : $fileCount.' files' }} with you through Ladill Transfer. @else Someone shared {{ $fileCount === 1 ? 'a file' : $fileCount.' files' }} with you through Ladill Transfer. @endif

@elseif($milestone === 'grace')

Grace period

Download soon

Download before these files are removed

The transfer {{ $transfer->title }} is in a grace period. @if($availableUntil) Files will be deleted on {{ $availableUntil->format('F j, Y') }} unless payment is received. @endif

@else

Reminder: download your files

{{ $transfer->title }} @if($daysRemaining === 1) will become unavailable tomorrow. @else will become unavailable in {{ $daysRemaining }} days. @endif

@endif

Transfer

@foreach($transfer->files as $file)
@endforeach
@if($transfer->message)

Message from sender {{ $transfer->message }}

@endif @if($transfer->isPasswordProtected())

This transfer is password protected. The sender will share the password with you separately.

@endif

Or copy this link into your browser:
{{ $publicUrl }}

@if($availableUntil && $milestone !== 'grace')

Available until {{ $availableUntil->format('F j, Y') }}.

@endif @endsection