Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
xBigDaddyx committed Oct 9, 2024
1 parent 2a58db1 commit 67978bd
Show file tree
Hide file tree
Showing 7 changed files with 57 additions and 78 deletions.
Empty file removed resources/dist/.gitkeep
Empty file.
1 change: 0 additions & 1 deletion resources/dist/beverly.css

This file was deleted.

18 changes: 0 additions & 18 deletions resources/dist/manifest.json

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ class="stroke-current shrink-0 h-4 w-4" />{{ $carton->type }}
<div class="badge badge-secondary">Principle</div>
</h2>
@if ($carton->type === 'MIX' || $carton->type === 'RATIO')
<p>After finish validating garment tag, close by scanning polybag barcode or carton
box barcode.</p>
<p>Validating each garment inside polybags. Make sure each polybag match with ratio
attribute garment.</p>
@else
<p>Validating each polybags inside the carton box. Make sure each polybag have same
attribute
Expand Down
104 changes: 52 additions & 52 deletions resources/views/livewire/carton-box/validation-stat.blade.php
Original file line number Diff line number Diff line change
@@ -1,62 +1,63 @@
<div class="hidden md:block col-span-4" wire.poll.keep-alive>
@if ($carton->type === 'RATIO' || $carton->type === 'MIX')
<div class="stats shadow bg-base-100 dark:bg-secondary-800 text-secondary-700 dark:text-white">
<div class="stat">
<div class="stat-figure text-error">
<x-heroicon-o-clipboard-document-list class="inline-block w-8 h-8 stroke-current" />

</div>
<div class="stat-title text-white dark:text-white">Carton Number</div>
<div class="stat-value text-md">{{ $carton->carton_number }}</div>
<div class="stat-desc text-error">Box Code : {{ $carton->box_code }}</div>
</div>
</div>
<div class="hero col-span-4 ">
<div class="hero-overlay bg-opacity-40 rounded-xl shadow-md"></div>
<div class="hero-content text-neutral-content text-center">
<div class="mx-auto">
<div class="stats bg-transparent text-white">
<div class="stat">
<div class="stat-figure text-error">
<x-heroicon-o-clipboard-document-list class="inline-block w-8 h-8 stroke-current" />

<div class="stats shadow bg-base-100 dark:bg-secondary-800 text-secondary-700 dark:text-white">
<div class="stat">
<div class="stat-figure text-secondary">
<x-heroicon-o-tag class="inline-block w-8 h-8 stroke-current" />
</div>
<div class="stat-title text-white dark:text-white font-bold">Polybags Tags</div>
<div class="stat-value text-secondary">{{ $count }}</div>
<div class="stat-desc">Validated</div>
</div>
</div>
@if ($carton->type === 'RATIO' || $carton->type === 'MIX')
<div class="stats shadow bg-base-100 dark:bg-secondary-800 text-secondary-700 dark:text-white">
</div>
<div class="stat-title text-white dark:text-white">Carton Number</div>
<div class="stat-value text-md">{{ $carton->carton_number }}</div>
<div class="stat-desc text-error">Box Code : {{ $carton->box_code }}</div>
</div>
<div class="stat">
<div class="stat-figure text-secondary">
<x-heroicon-o-document-duplicate class="inline-block w-8 h-8 stroke-current" />
</div>
<div class="stat-title text-white dark:text-white font-bold">Polybags Tags
</div>
<div class="stat-value text-secondary animate-bounce animate-infinite">{{ $count }}
</div>
<div class="stat-desc text-white">Validated</div>
</div>
<div class="stat">
<div class="stat-figure text-secondary">
<x-heroicon-o-tag class="inline-block w-8 h-8 stroke-current" />
</div>
<div class="stat-title text-white dark:text-white font-bold">Garment Tags</div>
<div class="stat-value text-secondary animate-bounce animate-infinite">{{ $tags_count }}
</div>
<div class="stat-desc text-white">Validated</div>
</div>
<div class="stat">
<div class="stat-figure text-success">
<x-heroicon-o-swatch class="inline-block w-8 h-8 stroke-current" />
</div>
<div class="stat-title text-white dark:text-white text-xl font-bold">Purchase
Order</div>
<div class="stat-value text-success text-sm">{{ $carton->packingList->po }}</div>
<div class="stat-desc text-white">{{ $carton->packingList->buyer->name }}</div>
</div>
<div class="stat">
<div class="stat-figure text-info">
<x-heroicon-o-inbox-stack class="inline-block w-8 h-8 stroke-current" />
</div>
<div class="stat-title text-white dark:text-white text-xl font-bold">Master
Order</div>
<div class="stat-value text-info text-sm">{{ $carton->packingList->contract_no }}
</div>

<div class="stat">
<div class="stat-figure text-secondary">
<x-heroicon-o-tag class="inline-block w-8 h-8 stroke-current" />
</div>
</div>
<div class="stat-title text-white dark:text-white font-bold">Garment Tags</div>
<div class="stat-value text-secondary">{{ $tags_count }}</div>
<div class="stat-desc">Validated</div>
</div>
</div>
@endif
<div class="stats shadow bg-base-100 dark:bg-secondary-800 text-secondary-700 dark:text-white">
<div class="stat">
<div class="stat-figure text-success">
<x-heroicon-o-swatch class="inline-block w-8 h-8 stroke-current" />
</div>
<div class="stat-title text-white dark:text-white text-xl font-bold">Purchase Order</div>
<div class="stat-value text-success text-sm">{{ $carton->packingList->po }}</div>
<div class="stat-desc">{{ $carton->packingList->buyer->name }}</div>
</div>

</div>
<div class="stats shadow bg-base-100 dark:bg-secondary-800 text-secondary-700 dark:text-white">
<div class="stat">
<div class="stat-figure text-info">
<x-heroicon-o-inbox-stack class="inline-block w-8 h-8 stroke-current" />
</div>
<div class="stat-title text-white dark:text-white text-xl font-bold">Master Order</div>
<div class="stat-value text-info text-sm">{{ $carton->packingList->contract_no }}</div>

</div>


</div>
</div>
</div>
@else
<div class="hero col-span-4 ">
Expand Down Expand Up @@ -109,7 +110,6 @@
</div>
</div>
</div>

@endif


Expand Down
7 changes: 3 additions & 4 deletions src/BeverlyPanelServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@ public function panel(Panel $panel): Panel
// ->profile(Domain\User\Filament\Pages\Auth\Profile::class)
->unsavedChangesAlerts()
->passwordReset()
// ->viteTheme('resources/css/filament/beverly/theme.css')
->topNavigation()
// ->spa()
->spa()
->maxContentWidth(MaxWidth::Full)
->login()
->globalSearchKeyBindings(['command+k', 'ctrl+k'])
Expand Down Expand Up @@ -69,11 +68,11 @@ public function panel(Panel $panel): Panel
])
->plugins([
\Rmsramos\Activitylog\ActivitylogPlugin::make()
->navigationItem(false),
->navigationItem(false),
\CharrafiMed\GlobalSearchModal\GlobalSearchModalPlugin::make()
->highlighter(false),
\ChrisReedIO\Socialment\SocialmentPlugin::make()
->registerProvider('azure', 'fab-microsoft', 'Sign in with Microsoft'),
->registerProvider('azure', 'microsoft', 'Sign in with Microsoft'),
\Xbigdaddyx\Beverly\BeverlyPlugin::make(),
\Leandrocfe\FilamentApexCharts\FilamentApexChartsPlugin::make(),
\Joaopaulolndev\FilamentEditProfile\FilamentEditProfilePlugin::make()
Expand Down
1 change: 0 additions & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export default {
presets: [
require("./vendor/wireui/wireui/tailwind.config.js"),


],
content: [
'./app/Filament/**/*.php',
Expand Down

0 comments on commit 67978bd

Please sign in to comment.