feat: usd pricing

This commit is contained in:
Jannat Patel
2023-12-21 12:28:11 +05:30
parent caea7e334c
commit 13536b8bad
10 changed files with 67 additions and 19 deletions

View File

@@ -392,6 +392,15 @@ const open_batch_dialog = () => {
depends_on: "paid_batch",
only_select: 1,
},
{
fieldtype: "Currency",
label: __("Amount (USD)"),
fieldname: "amount_usd",
depends_on: "paid_batch",
description: __(
"If you set an amount here, then the USD equivalent setting will not get applied."
),
},
],
primary_action_label: __("Save"),
primary_action: (values) => {