M3 Integration fixes
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\M3Integration\Providers;
|
||||
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
class M3IntegrationServiceProvider extends ServiceProvider
|
||||
{
|
||||
/**
|
||||
* Bootstrap the module services.
|
||||
*/
|
||||
public function boot(): void
|
||||
{
|
||||
$this->loadRoutesFrom(__DIR__ . '/../Routes/web.php');
|
||||
$this->loadViewsFrom(__DIR__ . '/../Resources/views', 'm3integration');
|
||||
}
|
||||
|
||||
/**
|
||||
* Register the module services.
|
||||
*/
|
||||
public function register(): void
|
||||
{
|
||||
// Placeholder only.
|
||||
}
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
# M3 Integration
|
||||
|
||||
Observe M3 transactions, delivery methods, close shipment calls, and API exchanges.
|
||||
|
||||
Contains actual sample Blade views and placeholder service provider/routes only.
|
||||
@@ -1,120 +0,0 @@
|
||||
<x-layouts::app :title="__('M3 Integration')">
|
||||
<div class="container-fluid py-4 module-page module-m3-integration">
|
||||
<div class="row g-4">
|
||||
<div class="col-12">
|
||||
<x-wms.page-hero eyebrow="Operations" title="M3 Integration"
|
||||
description="Observe M3 transactions, delivery methods, close shipment calls, and API exchanges."
|
||||
icon="fa-solid fa-server" />
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 col-xl-3">
|
||||
<div class="card h-100 border-0 shadow-sm module-metric-card">
|
||||
<div class="card-body">
|
||||
<div class="small text-uppercase text-muted fw-semibold mb-2">01</div>
|
||||
<h3 class="h6 mb-2">M3 Transaction Log</h3>
|
||||
<p class="small text-muted mb-0">Placeholder area for m3 transaction log.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-xl-3">
|
||||
<div class="card h-100 border-0 shadow-sm module-metric-card">
|
||||
<div class="card-body">
|
||||
<div class="small text-uppercase text-muted fw-semibold mb-2">02</div>
|
||||
<h3 class="h6 mb-2">M3 Delivery Methods</h3>
|
||||
<p class="small text-muted mb-0">Placeholder area for m3 delivery methods.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-xl-3">
|
||||
<div class="card h-100 border-0 shadow-sm module-metric-card">
|
||||
<div class="card-body">
|
||||
<div class="small text-uppercase text-muted fw-semibold mb-2">03</div>
|
||||
<h3 class="h6 mb-2">Close Shipment API</h3>
|
||||
<p class="small text-muted mb-0">Placeholder area for close shipment api.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-xl-3">
|
||||
<div class="card h-100 border-0 shadow-sm module-metric-card">
|
||||
<div class="card-body">
|
||||
<div class="small text-uppercase text-muted fw-semibold mb-2">04</div>
|
||||
<h3 class="h6 mb-2">M3 Error Queue</h3>
|
||||
<p class="small text-muted mb-0">Placeholder area for m3 error queue.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-12">
|
||||
<section class="card border-0 shadow-sm">
|
||||
<div class="card-header bg-white border-bottom">
|
||||
<div class="d-flex flex-column flex-md-row justify-content-between gap-2">
|
||||
<div>
|
||||
<h2 class="h5 mb-1">M3 Integration workbench</h2>
|
||||
<p class="small text-muted mb-0">Sample table layout ready to wire into controllers,
|
||||
queries, DataTables, or Livewire.</p>
|
||||
</div>
|
||||
|
||||
<div class="d-flex gap-2">
|
||||
<button type="button" class="btn btn-outline-secondary btn-sm">Export</button>
|
||||
<button type="button" class="btn btn-primary btn-sm">Create</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover align-middle mb-0">
|
||||
<thead class="table-light">
|
||||
<tr>
|
||||
<th>Transaction</th>
|
||||
<th>Program</th>
|
||||
<th>Message</th>
|
||||
<th class="text-end">Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>M3 Transaction Log</td>
|
||||
<td>Sample 1</td>
|
||||
<td><span
|
||||
class="badge bg-success-subtle text-success border border-success-subtle">Active</span>
|
||||
</td>
|
||||
<td class="text-end"><a href="#"
|
||||
class="btn btn-sm btn-outline-primary">Open</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>M3 Delivery Methods</td>
|
||||
<td>Sample 2</td>
|
||||
<td><span
|
||||
class="badge bg-success-subtle text-success border border-success-subtle">Active</span>
|
||||
</td>
|
||||
<td class="text-end"><a href="#"
|
||||
class="btn btn-sm btn-outline-primary">Open</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Close Shipment API</td>
|
||||
<td>Sample 3</td>
|
||||
<td><span
|
||||
class="badge bg-success-subtle text-success border border-success-subtle">Active</span>
|
||||
</td>
|
||||
<td class="text-end"><a href="#"
|
||||
class="btn btn-sm btn-outline-primary">Open</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>M3 Error Queue</td>
|
||||
<td>Sample 4</td>
|
||||
<td><span
|
||||
class="badge bg-success-subtle text-success border border-success-subtle">Active</span>
|
||||
</td>
|
||||
<td class="text-end"><a href="#"
|
||||
class="btn btn-sm btn-outline-primary">Open</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</x-layouts::app>
|
||||
@@ -1,4 +0,0 @@
|
||||
<a href="{{ route('m3-integration.index') }}" class="nav-link d-flex align-items-center gap-2">
|
||||
<i class="bi bi-server"></i>
|
||||
<span>M3 Integration</span>
|
||||
</a>
|
||||
@@ -1,3 +0,0 @@
|
||||
<?php
|
||||
|
||||
// API routes can be added here when the module is implemented.
|
||||
@@ -1,10 +0,0 @@
|
||||
<?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');
|
||||
});
|
||||
@@ -1,11 +0,0 @@
|
||||
{
|
||||
"name": "M3Integration",
|
||||
"alias": "m3-integration",
|
||||
"description": "Observe M3 transactions, delivery methods, close shipment calls, and API exchanges.",
|
||||
"keywords": [],
|
||||
"priority": 0,
|
||||
"providers": [
|
||||
"Modules\\M3Integration\\Providers\\M3IntegrationServiceProvider"
|
||||
],
|
||||
"files": []
|
||||
}
|
||||
Reference in New Issue
Block a user