<?php

return [

    /*
    |--------------------------------------------------------------------------
    | Common / Header
    |--------------------------------------------------------------------------
    */
    'title'       => 'Loans',
    'page_title'  => 'Loans',
    'breadcrumb'  => 'Loans',

    'loan_management' => 'Loan Management',
    'loan_list'       => 'Loan List',
    'hero_text'       => 'View all your loans, outstanding, paid principal, and interest summary here.',

    'loan_ledger' => 'Loan Ledger',
    'new_loan'    => '+ New Loan',

    /*
    |--------------------------------------------------------------------------
    | Summary Cards
    |--------------------------------------------------------------------------
    */
    'active_loans'       => 'Active Loans',
    'outstanding'        => 'Outstanding',
    'total_principal'    => 'Total Principal',
    'paid_principal'     => 'Paid Principal',
    'interest_fee_paid'  => 'Interest + Fee Paid',

    /*
    |--------------------------------------------------------------------------
    | Filters
    |--------------------------------------------------------------------------
    */
    'status' => 'Status',
    'all'    => 'All',
    'active' => 'Active',
    'closed' => 'Closed',

    'search'             => 'Search',
    'search_placeholder' => 'Lender name / Loan No',
    'filter'             => 'Filter',
    'reset'              => 'Reset',

    /*
    |--------------------------------------------------------------------------
    | Table
    |--------------------------------------------------------------------------
    */
    'loan'      => 'Loan',
    'account'   => 'Account',
    'principal' => 'Principal',
    'remaining' => 'Remaining',
    'rate'      => 'Rate',
    'start'     => 'Start',
    'action'    => 'Action',

    'unknown_lender' => 'Unknown Lender',
    'no_ref'         => 'No ref',

    /*
    |--------------------------------------------------------------------------
    | Actions
    |--------------------------------------------------------------------------
    */
    'statement' => 'Statement',
    'payment'   => 'Payment',
    'edit'      => 'Edit',
    'close'     => 'Close',
    'delete'    => 'Delete',
    'note'      => 'Note',

    /*
    |--------------------------------------------------------------------------
    | SweetAlert
    |--------------------------------------------------------------------------
    */
    'close_loan_title' => 'Close Loan?',
    'close_loan_text'  => 'Do you want to close this loan?',
    'yes_close_it'     => 'Yes, close it',

    'delete_loan_title' => 'Delete Loan?',
    'delete_loan_text'  => 'Do you want to delete this loan? It cannot be deleted if payments exist.',
    'yes_delete_it'     => 'Yes, delete it',

    'delete_payment_title' => 'Delete Payment?',
    'delete_payment_text'  => 'Do you want to delete this payment?',
    'yes_delete_it'        => 'Yes, delete it',

    /*
    |--------------------------------------------------------------------------
    | Empty State
    |--------------------------------------------------------------------------
    */
    'no_loans_found'              => 'No loans found.',
    'no_payments_found'           => 'No payments found.',
    'no_ledger_rows_found'        => 'No ledger rows found.',
    'no_loan_ledger_entries_found'=> 'No loan ledger entries found.',

    /*
    |--------------------------------------------------------------------------
    | Create Loan
    |--------------------------------------------------------------------------
    */
    'create_title'       => 'Create Loan',
    'create_breadcrumb'  => 'Loans / Create',

    'loan_entry'         => 'Loan Entry',
    'create_new_loan'    => 'Create New Loan',
    'create_hero_text'   => 'Enter the information to receive a new loan and post it to the ledger.',

    'receive_account'    => 'Receive Account',
    'select_account'     => 'Select account',

    'principal_amount'        => 'Principal Amount',
    'enter_principal_amount'  => 'Enter principal amount',

    'lender_name'             => 'Lender Name',
    'enter_lender_name'       => 'Enter lender name',

    'loan_no_ref'             => 'Loan No / Ref',
    'enter_loan_reference'    => 'Enter loan reference',

    'interest_rate'           => 'Interest Rate (%)',
    'enter_interest_rate'     => 'Enter interest rate',

    'start_date' => 'Start Date',
    'posted_at'  => 'Posted At',

    'write_additional_note' => 'Write additional note if needed',

    'loan_create_hint' => 'When the loan is created, a <strong>loan_in</strong> ledger entry will be posted according to the principal amount, and the remaining amount will initially be equal to the principal.',

    'back'      => 'Back',
    'save_loan' => 'Save Loan',

    /*
    |--------------------------------------------------------------------------
    | Edit Loan
    |--------------------------------------------------------------------------
    */
    'edit_title'      => 'Edit Loan',
    'edit_breadcrumb' => 'Loans / Edit',

    'loan_update'     => 'Loan Update',
    'edit_loan'       => 'Edit Loan',
    'edit_hero_text'  => 'Update the loan master information.',

    'current_principal' => 'Current Principal',
    'update_loan'       => 'Update Loan',

    'loan_update_hint' => 'The principal amount cannot be reduced below the already paid principal. When updated, the original <strong>loan_in</strong> ledger row will also be synced.',

    /*
    |--------------------------------------------------------------------------
    | Loan Payment
    |--------------------------------------------------------------------------
    */
    'payment_title'      => 'Loan Payment',
    'payment_breadcrumb' => 'Loans / Payment',

    'loan_info'     => 'Loan Info',
    'ref_label'     => 'Ref',
    'na'            => 'N/A',

    'interest_rate' => 'Interest Rate',
    'base_date'     => 'Base Date',
    'days'          => 'Days',
    'days_suffix'   => 'days',

    'estimated_interest' => 'Estimated Interest',

    'payment_info_hint' => 'Interest is calculated from the last payment date.<br>Leave principal blank and the system will calculate it automatically.',

    'loan_repayment'   => 'Loan Repayment',
    'add_payment'      => 'Add Payment',
    'payment_hero_text'=> 'Save payment with principal, interest, and fee breakdown.',

    'payment_account' => 'Payment Account',
    'paid_at'         => 'Paid At',

    'total_paid'                => 'Total Paid',
    'enter_total_payment_amount'=> 'Enter total payment amount',

    'interest_paid'             => 'Interest Paid',
    'enter_interest_amount'     => 'Enter interest amount',

    'principal_paid'                 => 'Principal Paid',
    'leave_blank_for_auto_calculate' => 'Leave blank for auto calculate',
    'auto_calculate_hint'            => 'Leave blank for auto calculation',

    'fee_paid'         => 'Fee Paid',
    'enter_fee_amount' => 'Enter fee amount',

    'auto_principal_preview' => 'Auto Principal Preview',
    'proof_photo_pdf'        => 'Proof Photo / PDF',

    'save_payment' => 'Save Payment',

    /*
    |--------------------------------------------------------------------------
    | Loan Statement
    |--------------------------------------------------------------------------
    */
    'statement_title'      => 'Loan Statement',
    'statement_breadcrumb' => 'Loans / Statement',

    'loan_statement' => 'Loan Statement',

    'add_payment_button' => '+ Add Payment',

    'principal_paid'  => 'Principal Paid',
    'interest_paid'   => 'Interest Paid',
    'fee_total_paid'  => 'Fee / Total Paid',

    'from' => 'From',
    'to'   => 'To',

    'payments' => 'Payments',
    'date'     => 'Date',
    'trx'      => 'TRX',
    'interest' => 'Interest',
    'fee'      => 'Fee',
    'total'    => 'Total',
    'proof'    => 'Proof',

    /*
    |--------------------------------------------------------------------------
    | Ledger
    |--------------------------------------------------------------------------
    */
    'related_ledger_entries' => 'Related Ledger Entries',

    'type'        => 'Type',
    'debit'       => 'Debit',
    'credit'      => 'Credit',
    'description' => 'Description',

    /*
    |--------------------------------------------------------------------------
    | General Ledger
    |--------------------------------------------------------------------------
    */
    'general_ledger_title'      => 'Loan General Ledger',
    'general_ledger_breadcrumb' => 'Reports / Loan General Ledger',

    'total_debit'  => 'Total Debit',
    'total_credit' => 'Total Credit',
    'net'          => 'Net',

    'search_trx_description' => 'TRX / description',

];