mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 19:51:09 -04:00
Compare commits
3 Commits
5.0.6
...
NickCrater
| Author | SHA1 | Date | |
|---|---|---|---|
| b414764552 | |||
| d69b7fd491 | |||
| b770e6277f |
@ -55,6 +55,8 @@ Join the Crater discord server to discuss:
|
|||||||
- [x] Multiple Companies
|
- [x] Multiple Companies
|
||||||
- [x] Recurring Invoices
|
- [x] Recurring Invoices
|
||||||
- [ ] Modules
|
- [ ] Modules
|
||||||
|
- [ ] Blockchain Integration
|
||||||
|
- [ ] Web 3.0 Accounting
|
||||||
- [ ] White Labeling (Easy Invoice, Email & Consumer Portal Theme customisation)
|
- [ ] White Labeling (Easy Invoice, Email & Consumer Portal Theme customisation)
|
||||||
- [ ] Vendors, Inventory & Bills
|
- [ ] Vendors, Inventory & Bills
|
||||||
- [ ] Payment Reminders
|
- [ ] Payment Reminders
|
||||||
|
|||||||
1
resources/scripts/components/dropdowns/InvoiceIndexDropdown.vue
Normal file → Executable file
1
resources/scripts/components/dropdowns/InvoiceIndexDropdown.vue
Normal file → Executable file
@ -153,7 +153,6 @@ const utils = inject('utils')
|
|||||||
function canReSendInvoice(row) {
|
function canReSendInvoice(row) {
|
||||||
return (
|
return (
|
||||||
(row.status == 'SENT' || row.status == 'VIEWED') &&
|
(row.status == 'SENT' || row.status == 'VIEWED') &&
|
||||||
route.name !== 'invoices.view' &&
|
|
||||||
userStore.hasAbilities(abilities.SEND_INVOICE)
|
userStore.hasAbilities(abilities.SEND_INVOICE)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -23,52 +23,3 @@ test('get all used currencies', function () {
|
|||||||
getJson("/api/v1/currencies/used")
|
getJson("/api/v1/currencies/used")
|
||||||
->assertOk();
|
->assertOk();
|
||||||
});
|
});
|
||||||
|
|
||||||
test('get supported currencies of currency freak', function () {
|
|
||||||
$driver = [
|
|
||||||
'driver' => "currency_freak",
|
|
||||||
'key' => "9ab5bc6424604778ad61103b628518f8"
|
|
||||||
];
|
|
||||||
|
|
||||||
$queryString = http_build_query($driver, '', '&');
|
|
||||||
|
|
||||||
getJson("/api/v1/supported-currencies?".$queryString)
|
|
||||||
->assertOk();
|
|
||||||
});
|
|
||||||
|
|
||||||
test('get supported currencies of currency layer', function () {
|
|
||||||
$driver = [
|
|
||||||
'driver' => "currency_layer",
|
|
||||||
'key' => "2bb7a25e6f24f42a66fde1f57b5210fd"
|
|
||||||
];
|
|
||||||
|
|
||||||
$queryString = http_build_query($driver, '', '&');
|
|
||||||
|
|
||||||
getJson("/api/v1/supported-currencies?".$queryString)
|
|
||||||
->assertOk();
|
|
||||||
});
|
|
||||||
|
|
||||||
test('get supported currencies of open exchange rate', function () {
|
|
||||||
$driver = [
|
|
||||||
'driver' => "open_exchange_rate",
|
|
||||||
'key' => "c5f404d414d245209923cd4f2d4c3875"
|
|
||||||
];
|
|
||||||
|
|
||||||
$queryString = http_build_query($driver, '', '&');
|
|
||||||
|
|
||||||
getJson("/api/v1/supported-currencies?".$queryString)
|
|
||||||
->assertOk();
|
|
||||||
});
|
|
||||||
|
|
||||||
test('get supported currencies of currency converter', function () {
|
|
||||||
$driver = [
|
|
||||||
'driver' => "currency_converter",
|
|
||||||
'key' => "0a1cef4d5f6fd01cc87a",
|
|
||||||
'type' => 'FREE'
|
|
||||||
];
|
|
||||||
|
|
||||||
$queryString = http_build_query($driver, '', '&');
|
|
||||||
|
|
||||||
getJson("/api/v1/supported-currencies?".$queryString)
|
|
||||||
->assertOk();
|
|
||||||
});
|
|
||||||
|
|||||||
Reference in New Issue
Block a user