<?php $return = $return ?? []; ?>
<div class="enterprise-settings-fields">
    <div class="enterprise-field">
        <label class="enterprise-field-label">Period From <span class="text-danger">*</span></label>
        <input type="date" name="period_from" class="form-control" required
               value="<?= esc(old('period_from', $return['period_from'] ?? date('Y-m-01'))) ?>">
    </div>
    <div class="enterprise-field">
        <label class="enterprise-field-label">Period To <span class="text-danger">*</span></label>
        <input type="date" name="period_to" class="form-control" required
               value="<?= esc(old('period_to', $return['period_to'] ?? date('Y-m-t'))) ?>">
    </div>
    <div class="enterprise-field" style="grid-column: 1 / -1;">
        <label class="enterprise-field-label">Notes</label>
        <textarea name="notes" class="form-control" rows="3"><?= esc(old('notes', $return['notes'] ?? '')) ?></textarea>
    </div>
</div>
