Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +9 -9
src/streamlit_app.py
CHANGED
|
@@ -796,15 +796,15 @@ elif st.session_state.page == 'viewer':
|
|
| 796 |
df[field] = pd.to_numeric(df[field].replace('', None), errors='coerce')
|
| 797 |
|
| 798 |
column_config = {
|
| 799 |
-
"Po_number": st.column_config.TextColumn("PO Number", width="
|
| 800 |
-
"Invoice_no": st.column_config.TextColumn("Invoice No", width="
|
| 801 |
-
"Other_doc_ref_no": st.column_config.TextColumn("Other Doc Ref No", width="
|
| 802 |
-
"Invoice_date": st.column_config.TextColumn("Invoice Date", width="
|
| 803 |
-
"Invoice_amount_FCY": st.column_config.NumberColumn("Invoice Amt FCY", width="
|
| 804 |
-
"Amount_paid_for_each_invoice": st.column_config.NumberColumn("Amount Paid", width="
|
| 805 |
-
"Outstanding_balance_FCY": st.column_config.NumberColumn("Outstanding FCY", width="
|
| 806 |
-
"Discounts_taken_FCY": st.column_config.NumberColumn("Discounts FCY", width="
|
| 807 |
-
"Adjustments(without_holding_tax)_FCY": st.column_config.NumberColumn("Adjustments FCY", width="
|
| 808 |
"Descriptions": st.column_config.TextColumn("Descriptions", width="medium"),
|
| 809 |
}
|
| 810 |
|
|
|
|
| 796 |
df[field] = pd.to_numeric(df[field].replace('', None), errors='coerce')
|
| 797 |
|
| 798 |
column_config = {
|
| 799 |
+
"Po_number": st.column_config.TextColumn("PO Number", width="medium"),
|
| 800 |
+
"Invoice_no": st.column_config.TextColumn("Invoice No", width="medium"),
|
| 801 |
+
"Other_doc_ref_no": st.column_config.TextColumn("Other Doc Ref No", width="medium"),
|
| 802 |
+
"Invoice_date": st.column_config.TextColumn("Invoice Date", width="medium"),
|
| 803 |
+
"Invoice_amount_FCY": st.column_config.NumberColumn("Invoice Amt FCY", width="medium", format="%.2f"),
|
| 804 |
+
"Amount_paid_for_each_invoice": st.column_config.NumberColumn("Amount Paid", width="medium", format="%.2f"),
|
| 805 |
+
"Outstanding_balance_FCY": st.column_config.NumberColumn("Outstanding FCY", width="medium", format="%.2f"),
|
| 806 |
+
"Discounts_taken_FCY": st.column_config.NumberColumn("Discounts FCY", width="medium", format="%.2f"),
|
| 807 |
+
"Adjustments(without_holding_tax)_FCY": st.column_config.NumberColumn("Adjustments FCY", width="medium", format="%.2f"),
|
| 808 |
"Descriptions": st.column_config.TextColumn("Descriptions", width="medium"),
|
| 809 |
}
|
| 810 |
|