<?php
// Receipt Configuration for 2-inch Thermal Printer
// Customize these settings to match your business

return [
    'business' => [
        'name' => 'MARIYAPPA NADAR RICEMILL',
        'tagline' => 'Premium Quality Rice',
        'address' => '', // Add your address if needed
        'phone' => '', // Add phone number if needed
        'email' => '', // Add email if needed
        'website' => '', // Add website if needed
    ],
    
    'receipt' => [
        'title' => 'SALES RECEIPT',
        'footer_message' => 'Thank You for Your Business!',
        'footer_submessage' => 'Visit Again Soon',
        'footer_tagline' => 'Fresh Rice • Quality Service',
        'powered_by' => 'Powered by Rice POS System',
    ],
    
    'printer' => [
        'width_mm' => 58, // 2-inch = 58mm
        'font_size' => 11, // Base font size
        'line_height' => 1.2,
        'margin_mm' => 2,
    ],
    
    'features' => [
        'show_customer_mobile' => true,
        'show_customer_area' => true,
        'show_customer_type' => true,
        'show_customer_balance' => true, // Show old balance, bill balance, and outstanding
        'show_cashier_name' => true,
        'show_items_total_first' => true, // Show quantity and rate first, then total
        'show_reference_number' => true,
        'auto_print_on_sale' => false, // Set to true to auto-print after each sale
    ],
    
    'formatting' => [
        'currency_symbol' => '₹',
        'date_format' => 'd-M-Y', // PHP date format
        'time_format' => 'h:i A', // PHP time format
        'decimal_places' => 0, // Number of decimal places for amounts
    ]
];
?>
