From 77ac1549e2ab5ac68a1a7464ada9be7e2a2aad92 Mon Sep 17 00:00:00 2001
From: eug-vs <eug-vs@keemail.me>
Date: Sun, 21 Mar 2021 13:18:39 +0300
Subject: feat: pass search params across screens

---
 src/containers/ContractorPanel.tsx | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'src/containers/ContractorPanel.tsx')

diff --git a/src/containers/ContractorPanel.tsx b/src/containers/ContractorPanel.tsx
index b68adec..6a209c3 100644
--- a/src/containers/ContractorPanel.tsx
+++ b/src/containers/ContractorPanel.tsx
@@ -10,6 +10,9 @@ const ContractorPanel: React.FC<PanelProps> = ({ item, mutate }) => {
 
   return (
     <div className="lg:m-4 p-4 flex flex-col lg:pl-16 lg:border-l">
+      <span className="text-lg mb-10">
+        Долг контрагента: <span className="font-bold">{item.debt}</span>
+      </span>
       <div className="grid lg:grid-cols-2">
         <Button route={`/waybills?contractorId=${item._id}`} variant="outlined">
           Показать накладные
-- 
cgit v1.2.3

