mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
refactoring (sale invoice): add icon quick-payment
This commit is contained in:
@@ -130,8 +130,8 @@ export function ActionsMenu({
|
||||
</If>
|
||||
<If condition={!original.is_fully_paid}>
|
||||
<MenuItem
|
||||
// icon={<Icon />}
|
||||
text={formatMessage({ id: 'make_as_payment' })}
|
||||
icon={<Icon icon="quick-payment-16" iconSize={16} />}
|
||||
text={formatMessage({ id: 'add_payment' })}
|
||||
onClick={safeCallback(onQuick, original)}
|
||||
/>
|
||||
</If>
|
||||
|
||||
@@ -1002,7 +1002,7 @@ export default {
|
||||
invoice_date: 'Invoice date',
|
||||
invoice_amount: 'Invoice amount',
|
||||
make_payment: 'Make Payment',
|
||||
make_as_payment: 'Make as payment',
|
||||
add_payment: 'Add Payment',
|
||||
quick_receive_payment: 'Quick Receive Payment',
|
||||
amount_received: 'Amount Received',
|
||||
payment_no: 'Payment No.',
|
||||
|
||||
@@ -159,7 +159,7 @@ export default {
|
||||
],
|
||||
viewBox: '0 0 309.09 42.89',
|
||||
},
|
||||
"mini-bigcapital": {
|
||||
'mini-bigcapital': {
|
||||
path: [
|
||||
'M56,3.16,61.33,8.5,31.94,37.9l-5.35-5.35Z',
|
||||
'M29.53,6.94l5.35,5.34L5.49,41.67.14,36.33l15.8-15.8Z',
|
||||
@@ -424,5 +424,11 @@ export default {
|
||||
'M12 6.5c0-.28-.22-.5-.5-.5h-7a.495.495 0 00-.37.83l3.5 4c.09.1.22.17.37.17s.28-.07.37-.17l3.5-4c.08-.09.13-.2.13-.33z',
|
||||
],
|
||||
viewBox: '0 0 16 16',
|
||||
}
|
||||
},
|
||||
'quick-payment-16': {
|
||||
path: [
|
||||
'M19,14V6c0-1.1-0.9-2-2-2H3C1.9,4,1,4.9,1,6v8c0,1.1,0.9,2,2,2h14C18.1,16,19,15.1,19,14z M17,14H3V6h14V14z M10,7 c-1.66,0-3,1.34-3,3s1.34,3,3,3s3-1.34,3-3S11.66,7,10,7z M23,7v11c0,1.1-0.9,2-2,2H4c0-1,0-0.9,0-2h17V7C22.1,7,22,7,23,7z',
|
||||
],
|
||||
viewBox: '0 0 24 24',
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user