// @ts-nocheck import React from 'react'; import styled from 'styled-components'; import { T, TotalLines, TotalLine, TotalLineBorderStyle, TotalLineTextStyle, } from '@/components'; import { useManualJournalSubtotalFormatted, useManualJournalTotalFormatted, } from './utils'; export function MakeJournalFormFooterRight() { const formattedSubtotal = useManualJournalSubtotalFormatted(); const formattedTotal = useManualJournalTotalFormatted(); return ( } value={formattedSubtotal} borderStyle={TotalLineBorderStyle.None} /> } value={formattedTotal} textStyle={TotalLineTextStyle.Bold} /> ); } const MakeJouranlTotalLines = styled(TotalLines)` width: 100%; color: #555555; `;