<?php
return [
    'title' => 'Loans & Advances',
    'my_title' => 'My loans',
    'subtitle' => 'Manage employee loans, advances, and repayment schedules.',
    'details' => 'Loan #:id',
    'empty' => 'No loans found.',
    'fields' => [
        'employee' => 'Employee', 'type' => 'Type', 'amount' => 'Amount', 'balance' => 'Remaining balance',
        'interest_rate' => 'Interest rate', 'installments' => 'Installments', 'start_date' => 'Start date',
        'reason' => 'Reason', 'notes' => 'Notes', 'status' => 'Status', 'due_date' => 'Due date',
    ],
    'types' => ['loan' => 'Loan', 'advance' => 'Advance'],
    'status' => [
        'draft' => 'Draft', 'submitted' => 'Submitted', 'approved' => 'Approved', 'rejected' => 'Rejected',
        'cancelled' => 'Cancelled', 'active' => 'Active', 'partially_paid' => 'Partially paid', 'settled' => 'Settled',
    ],
    'actions' => [
        'new' => 'New loan', 'request' => 'Request loan', 'edit' => 'Edit loan', 'submit' => 'Submit',
        'approve' => 'Approve', 'reject' => 'Reject', 'cancel' => 'Cancel', 'settle' => 'Settle',
    ],
    'flash' => ['created' => 'Loan saved.', 'updated' => 'Loan updated.', 'deleted' => 'Loan deleted.', 'action' => 'Loan status updated.'],
    'invalid_transition' => 'This loan action is not allowed in its current status.',
    'notifications' => ['approved' => 'Your loan request was approved.'],
];
