@@ -123,9 +123,9 @@ const PriceHistoryModal = ({ isOpen, onClose, variant, onStatusChanged }) => {
123123 < th className = "px-4 py-3 text-right font-semibold text-gray-600" > Giá bán</ th >
124124 < th className = "px-4 py-3 text-right font-semibold text-gray-600" > Thuế (%)</ th >
125125 < th className = "px-4 py-3 text-center font-semibold text-gray-600" > Ngày hiệu lực</ th >
126+ < th className = "px-4 py-3 text-center font-semibold text-gray-600" > Ngày tạo</ th >
126127 < th className = "px-4 py-3 text-center font-semibold text-gray-600" > Ngày hết hiệu lực</ th >
127128 < th className = "px-4 py-3 text-center font-semibold text-gray-600" > Trạng thái</ th >
128- < th className = "px-4 py-3 text-center font-semibold text-gray-600" > Ngày tạo</ th >
129129 < th className = "px-4 py-3 text-center font-semibold text-gray-600" > Thao tác</ th >
130130 </ tr >
131131 </ thead >
@@ -144,6 +144,9 @@ const PriceHistoryModal = ({ isOpen, onClose, variant, onStatusChanged }) => {
144144 </ td >
145145 < td className = "px-4 py-3 text-right" > { price . taxPercent ?? 0 } %</ td >
146146 < td className = "px-4 py-3 text-center" > { formatDate ( price . effectiveDate ) } </ td >
147+ < td className = "px-4 py-3 text-center text-gray-400 text-xs" >
148+ { formatDate ( price . createdAt ) }
149+ </ td >
147150 < td className = "px-4 py-3 text-center" > { formatDate ( price . expiryDate ) } </ td >
148151 < td className = "px-4 py-3 text-center" >
149152 { price . status === 'ACTIVE' ? (
@@ -156,9 +159,6 @@ const PriceHistoryModal = ({ isOpen, onClose, variant, onStatusChanged }) => {
156159 </ span >
157160 ) }
158161 </ td >
159- < td className = "px-4 py-3 text-center text-gray-400 text-xs" >
160- { formatDate ( price . createdAt ) }
161- </ td >
162162 < td className = "px-4 py-3 text-center" >
163163 < button
164164 onClick = { ( ) => handleToggle ( price . id ) }
0 commit comments