mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
fix: update footer styling
This commit is contained in:
@@ -554,7 +554,7 @@ const DailyMarketingTab = ({ tabId }: DailyMarketingTabProps) => {
|
||||
accessorKey: 'qty',
|
||||
cell: (props) => formatNumber(props.row.original.qty),
|
||||
footer: () => (
|
||||
<div className='text-right font-semibold text-gray-900'>
|
||||
<div className='font-semibold text-gray-900'>
|
||||
{summaryTotal?.total_qty
|
||||
? formatNumber(summaryTotal.total_qty)
|
||||
: '-'}
|
||||
@@ -567,7 +567,7 @@ const DailyMarketingTab = ({ tabId }: DailyMarketingTabProps) => {
|
||||
accessorKey: 'average_weight_kg',
|
||||
cell: (props) => formatNumber(props.row.original.average_weight_kg),
|
||||
footer: () => (
|
||||
<div className='text-right font-semibold text-gray-900'>
|
||||
<div className='font-semibold text-gray-900'>
|
||||
{summaryTotal?.average_weight_kg
|
||||
? formatNumber(summaryTotal.average_weight_kg)
|
||||
: '-'}
|
||||
@@ -580,7 +580,7 @@ const DailyMarketingTab = ({ tabId }: DailyMarketingTabProps) => {
|
||||
accessorKey: 'total_weight_kg',
|
||||
cell: (props) => formatNumber(props.row.original.total_weight_kg),
|
||||
footer: () => (
|
||||
<div className='text-right font-semibold text-gray-900'>
|
||||
<div className='font-semibold text-gray-900'>
|
||||
{summaryTotal?.total_weight_kg
|
||||
? formatNumber(summaryTotal.total_weight_kg)
|
||||
: '-'}
|
||||
@@ -593,9 +593,9 @@ const DailyMarketingTab = ({ tabId }: DailyMarketingTabProps) => {
|
||||
accessorKey: 'sales_price_per_kg',
|
||||
cell: (props) => formatCurrency(props.row.original.sales_price_per_kg),
|
||||
footer: () => (
|
||||
<div className='text-right font-semibold text-gray-900'>
|
||||
<div className='font-semibold text-gray-900'>
|
||||
{summaryTotal?.average_sales_price
|
||||
? formatNumber(summaryTotal.average_sales_price)
|
||||
? formatCurrency(summaryTotal.average_sales_price)
|
||||
: '-'}
|
||||
</div>
|
||||
),
|
||||
@@ -606,7 +606,7 @@ const DailyMarketingTab = ({ tabId }: DailyMarketingTabProps) => {
|
||||
accessorKey: 'hpp_price_per_kg',
|
||||
cell: (props) => formatCurrency(props.row.original.hpp_price_per_kg),
|
||||
footer: () => (
|
||||
<div className='text-right font-semibold text-gray-900'>
|
||||
<div className='font-semibold text-gray-900'>
|
||||
{summaryTotal?.total_hpp_price_per_kg
|
||||
? formatCurrency(summaryTotal.total_hpp_price_per_kg)
|
||||
: '-'}
|
||||
@@ -619,7 +619,7 @@ const DailyMarketingTab = ({ tabId }: DailyMarketingTabProps) => {
|
||||
accessorKey: 'sales_amount',
|
||||
cell: (props) => formatCurrency(props.row.original.sales_amount),
|
||||
footer: () => (
|
||||
<div className='text-right font-semibold text-gray-900'>
|
||||
<div className='font-semibold text-gray-900'>
|
||||
{summaryTotal?.total_sales_amount
|
||||
? formatCurrency(summaryTotal.total_sales_amount)
|
||||
: '-'}
|
||||
|
||||
Reference in New Issue
Block a user