mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 21:30:31 +00:00
feat: quick payment receive & made in action Bar.
This commit is contained in:
@@ -59,11 +59,12 @@ function BillDetailActionsBar({
|
||||
text={<T id={'edit_bill'} />}
|
||||
onClick={safeCallback(onEditBill)}
|
||||
/>
|
||||
<NavbarDivider />
|
||||
<If condition={bill.is_open && !bill.is_fully_paid}>
|
||||
<Button
|
||||
className={Classes.MINIMAL}
|
||||
icon={<Icon icon="quick-payment-16" iconSize={16} />}
|
||||
text={<T id={'payment_divider'} />}
|
||||
text={<T id={'add_payment'} />}
|
||||
onClick={handleQuickBillPayment}
|
||||
/>
|
||||
</If>
|
||||
|
||||
@@ -68,11 +68,12 @@ function InvoiceDetailActionsBar({
|
||||
text={<T id={'edit_invoice'} />}
|
||||
onClick={handleEditInvoice}
|
||||
/>
|
||||
<NavbarDivider />
|
||||
<If condition={invoice.is_delivered && !invoice.is_fully_paid}>
|
||||
<Button
|
||||
className={Classes.MINIMAL}
|
||||
icon={<Icon icon="quick-payment-16" iconSize={16} />}
|
||||
text={<T id={'payment_divider'} />}
|
||||
text={<T id={'add_payment'} />}
|
||||
onClick={handleQuickPaymentInvoice}
|
||||
/>
|
||||
</If>
|
||||
|
||||
@@ -57,7 +57,7 @@ export function ActionsMenu({
|
||||
<If condition={original.is_open && !original.is_fully_paid}>
|
||||
<MenuItem
|
||||
icon={<Icon icon="quick-payment-16" iconSize={16} />}
|
||||
text={intl.get('payment_divider')}
|
||||
text={intl.get('add_payment')}
|
||||
onClick={safeCallback(onQuick, original)}
|
||||
/>
|
||||
</If>
|
||||
|
||||
@@ -131,7 +131,7 @@ export function ActionsMenu({
|
||||
<If condition={original.is_delivered && !original.is_fully_paid}>
|
||||
<MenuItem
|
||||
icon={<Icon icon="quick-payment-16" iconSize={16} />}
|
||||
text={intl.get('payment_divider')}
|
||||
text={intl.get('add_payment')}
|
||||
onClick={safeCallback(onQuick, original)}
|
||||
/>
|
||||
</If>
|
||||
|
||||
@@ -833,7 +833,7 @@
|
||||
"the_payment_amount_that_received": "مبلغ الدفع الذي تم استلامه من الزبون أكبر من المبلغ المستحق لهذه الفاتورة.",
|
||||
"invoice_number": "رقم الفاتورة",
|
||||
"make_payment": "قم بالدفع",
|
||||
"payment_divider": "إضافة الدفع",
|
||||
"add_payment": "إضافة الدفع",
|
||||
"quick_receive_payment": "سند قبض سريع",
|
||||
"amount_received": "تم استلام المبلغ",
|
||||
"payment_receive_number_required": "مطلوب رقم استلام الدفعة",
|
||||
|
||||
@@ -820,7 +820,7 @@
|
||||
"invoice_date": "Invoice date",
|
||||
"invoice_amount": "Invoice amount",
|
||||
"make_payment": "Make Payment",
|
||||
"payment_divider": "Payment divider",
|
||||
"add_payment": "Add Payment",
|
||||
"quick_receive_payment": "Quick Receive Payment",
|
||||
"amount_received": "Amount Received",
|
||||
"payment_no": "Payment No.",
|
||||
|
||||
Reference in New Issue
Block a user