M3 Integration fixes pass 27
This commit is contained in:
@@ -17,7 +17,7 @@ use Modules\Helpdesk\Models\Ticket;
|
||||
*/
|
||||
final class TicketFactory extends Factory
|
||||
{
|
||||
private const FACTORY_BODY = self::FACTORY_BODY;
|
||||
private const FACTORY_BODY = 'Factory helpdesk ticket body';
|
||||
|
||||
/**
|
||||
* The model name for the factory.
|
||||
|
||||
@@ -17,7 +17,7 @@ use Modules\Helpdesk\Services\WorkflowNotificationService;
|
||||
|
||||
final class KanbanBoard extends Component
|
||||
{
|
||||
private const OWNER_RELATION = self::OWNER_RELATION;
|
||||
private const OWNER_RELATION = 'owner:id,name,email';
|
||||
|
||||
public ?int $board_id = null;
|
||||
|
||||
|
||||
@@ -482,7 +482,7 @@
|
||||
|
||||
<div id="ticket-comment-body-editor" dusk="comment-body" data-dusk="comment-body"
|
||||
data-helpdesk-rich-editor data-helpdesk-sync-target="ticket-comment-body"
|
||||
contenteditable="true" aria-label="Write a public reply or internal note." spellcheck="true" lang="en-GB" autocorrect="on" autocomplete="on" autocapitalize="sentences" inputmode="text"
|
||||
contenteditable="true" role="textbox" aria-multiline="true" spellcheck="true" lang="en-GB" aria-label="Write a public reply or internal note." autocorrect="on" autocomplete="on" autocapitalize="sentences" inputmode="text"
|
||||
class="prose prose-sm min-h-[12rem] max-w-none bg-white p-4 text-sm leading-6 text-zinc-900 outline-none dark:prose-invert dark:bg-zinc-950 dark:text-zinc-100"
|
||||
data-placeholder="Write a public reply or internal note. Right-click or Ctrl-click underlined words for spelling suggestions.">{!! $oldCommentBody !!}</div>
|
||||
|
||||
@@ -1661,7 +1661,7 @@
|
||||
|
||||
<style>
|
||||
[data-helpdesk-sidebar-cards] details > summary::-webkit-details-marker {
|
||||
display: none;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
[data-helpdesk-sidebar-cards] details > summary {
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\M3Integration\Providers;
|
||||
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
class M3IntegrationServiceProvider extends ServiceProvider
|
||||
{
|
||||
public function boot(): void
|
||||
{
|
||||
$this->loadRoutesFrom(__DIR__ . '/../Routes/web.php');
|
||||
$this->loadViewsFrom(__DIR__ . '/../Resources/views', 'm3integration');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
<x-layouts::app :title="__('M3 Integration')">
|
||||
<div class="container-fluid py-4 module-page module-m3-integration">
|
||||
<x-wms.page-hero eyebrow="Integration" title="M3 Integration"
|
||||
description="Observe M3 transactions and integration activity."
|
||||
icon="fa-solid fa-arrows-rotate" />
|
||||
</div>
|
||||
</x-layouts::app>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
Route::middleware(['web', 'auth'])
|
||||
->prefix('m3-integration')
|
||||
->name('m3-integration.')
|
||||
->group(function (): void {
|
||||
Route::view('/', 'm3integration::index')->name('index');
|
||||
});
|
||||
@@ -11,7 +11,7 @@ use Modules\Platform\app\Models\PlatformPrice;
|
||||
|
||||
class PlatformPriceController extends Controller
|
||||
{
|
||||
private const MIN_ZERO = self::MIN_ZERO;
|
||||
private const MIN_ZERO = 'min:0';
|
||||
|
||||
/**
|
||||
* Display the customer-facing platform pricing cards.
|
||||
|
||||
Reference in New Issue
Block a user