@apptimate/ui 3.3.0 → 3.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apptimate/ui",
3
- "version": "3.3.0",
3
+ "version": "3.4.0",
4
4
  "main": "src/index.tsx",
5
5
  "types": "src/index.tsx",
6
6
  "dependencies": {
@@ -373,7 +373,7 @@ function PaymentEntryRow({ entry, mode, bankAccounts, materialTypes = [], onUpda
373
373
  {fields.length > 0 && (
374
374
  <div className="grid grid-cols-2 gap-2.5">
375
375
  {fields.map((field: PaymentModeField) => {
376
- if (field.key === "bank_account_id" && entry.mode_code === "cheque" && fetchChequeLeaves) {
376
+ if ((field.key === "bank_account_id" || field.key === "bank_name") && entry.mode_code === "cheque" && fetchChequeLeaves) {
377
377
  return null;
378
378
  }
379
379