Merge branch 'master' of github.com:akaunting/akaunting
This commit is contained in:
commit
1093aefa03
@ -10,7 +10,11 @@ class SendInvalidEmailNotification
|
|||||||
{
|
{
|
||||||
public function handle(Event $event): void
|
public function handle(Event $event): void
|
||||||
{
|
{
|
||||||
$users = company()->users;
|
$users = company()?->users;
|
||||||
|
|
||||||
|
if (empty($users)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$this->notifyAdminsAboutInvalidContactEmail($event, $users);
|
$this->notifyAdminsAboutInvalidContactEmail($event, $users);
|
||||||
|
|
||||||
|
@ -107,7 +107,7 @@ class Item extends Model
|
|||||||
return $query;
|
return $query;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $query->whereIn('type', $type);
|
return $query->whereIn($this->qualifyColumn('type'), $type);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -323,7 +323,7 @@ trait Import
|
|||||||
return $contact->id;
|
return $contact->id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getItemIdFromName($row, $type)
|
public function getItemIdFromName($row, $type = 'product')
|
||||||
{
|
{
|
||||||
$item_id = Item::type($type)->where('name', $row['item_name'])->pluck('id')->first();
|
$item_id = Item::type($type)->where('name', $row['item_name'])->pluck('id')->first();
|
||||||
|
|
||||||
|
@ -10,13 +10,13 @@ return [
|
|||||||
|
|
||||||
'minor' => '0',
|
'minor' => '0',
|
||||||
|
|
||||||
'patch' => '14',
|
'patch' => '15',
|
||||||
|
|
||||||
'build' => '',
|
'build' => '',
|
||||||
|
|
||||||
'status' => 'Stable',
|
'status' => 'Stable',
|
||||||
|
|
||||||
'date' => '25-April-2023',
|
'date' => '31-May-2023',
|
||||||
|
|
||||||
'time' => '17:00',
|
'time' => '17:00',
|
||||||
|
|
||||||
|
11
resources/assets/js/mixins/global.js
vendored
11
resources/assets/js/mixins/global.js
vendored
@ -469,6 +469,9 @@ export default {
|
|||||||
onChangePaginationLimit(event) {
|
onChangePaginationLimit(event) {
|
||||||
let path = '';
|
let path = '';
|
||||||
|
|
||||||
|
let split_href = window.location.href.split('#');
|
||||||
|
let href = split_href[0];
|
||||||
|
|
||||||
if (window.location.search.length) {
|
if (window.location.search.length) {
|
||||||
if (window.location.search.includes('limit')) {
|
if (window.location.search.includes('limit')) {
|
||||||
let queries = [];
|
let queries = [];
|
||||||
@ -496,10 +499,14 @@ export default {
|
|||||||
});
|
});
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
path = window.location.href + '&limit=' + event.target.getAttribute("value");
|
path = href + '&limit=' + event.target.getAttribute("value");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
path = window.location.href + '?limit=' + event.target.getAttribute("value");
|
path = href + '?limit=' + event.target.getAttribute("value");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (split_href[1]) {
|
||||||
|
path += '#' + split_href[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
window.location.href = path;
|
window.location.href = path;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user