Compare commits

...

2 commits

Author SHA1 Message Date
446945e7f9
0.3.0
* Improve the initial linking of Customers to Mailboxes, to include Customers linked with several Conversations.
2024-07-08 17:00:28 +02:00
8d71b98899
Improve import of Customers linked to several Conversations 2024-07-08 13:43:26 +02:00
4 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,7 @@
0.3.0
* Improve the initial linking of Customers to Mailboxes, to include Customers linked with several Conversations.
0.2.0
* On the initial package install, link existing Customers to Mailboxes.

View file

@ -19,7 +19,7 @@ You have been warned.
### Install the package with composer
```
composer require "millions-missing-france/freescout-restricted-customers" "0.2.0"
composer require "millions-missing-france/freescout-restricted-customers" "0.3.0"
```
### Edit the application routes

View file

@ -1,7 +1,7 @@
{
"name": "millions-missing-france/freescout-restricted-customers",
"description": "Freescout restricted customers - Restrict access to Freescout customers to specific mailboxes",
"version": "0.2.0",
"version": "0.333",
"type": "library",
"license": ["AGPL-3.0-only"],
"authors": [

View file

@ -91,7 +91,8 @@ class Customer extends BaseCustomer {
public function mailboxesThroughConversations() {
return $this
->conversations
->pluck('mailbox');
->pluck('mailbox')
->unique();
}
/**