import {parse} from "next-useragent";
import FinalCreditAmountComponent from "@/components/dashboard/passenger-boss/Prints/final-credit-amount";

export default function FinalCreditAmount() {
    return (
        <FinalCreditAmountComponent/>
    )
}

export async function getServerSideProps({req, locale}) {
    const {isBot} = parse(req.headers["user-agent"]);
    return {
        props: {
            messages: (await import(`&/locales/${locale}/app.json`)).default,
            title: "Dashboard.passenger_boss_page",
            isBot,
            locale,
            layout: {name: 'PrintLayout'}
        },
    };
}