"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.generateOrderNumber = generateOrderNumber;
// helper/orderHelper.ts
function generateOrderNumber() {
    const timestamp = Date.now().toString(36).toUpperCase();
    const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
    let randomCode = '';
    for (let i = 0; i < 4; i++) {
        randomCode += characters.charAt(Math.floor(Math.random() * characters.length));
    }
    return `SSBN-${timestamp}-${randomCode}`;
}
