added the logic for aws secrets manager

This commit is contained in:
swtmply
2023-03-27 23:21:39 +08:00
parent 88ee4f13e1
commit a5e3985745
8 changed files with 224 additions and 12099 deletions

View File

@@ -174,12 +174,15 @@ export function JobPayments({
const response = await axios.post(
"/intellipay/generate_payment_url",
{
bodyshop,
amount: balance.getAmount(),
account: job.ro_number,
}
);
setGeneratingtURL(false);
console.log("SMS", response);
openChatByPhone({
phone_num: p.formatInternational(),
jobid: job.id,
@@ -236,7 +239,7 @@ export function JobPayments({
}}
expandable={{
expandedRowRender: (record) => (
<PaymentExpandedRowComponent record={record} />
<PaymentExpandedRowComponent record={record} bodyshop={bodyshop} />
),
}}
summary={() => (