Files
pds/resources/views/forms/components/save-production-order-button.blade.php
dhanabalan 0ba92e1bb5
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 16s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 19s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 17s
Laravel Pint / pint (pull_request) Failing after 33s
Laravel Larastan / larastan (pull_request) Failing after 10m28s
Added print panel 2 button in production order page
2026-11-16 10:40:39 +05:30

59 lines
1.6 KiB
PHP

<div class="flex flex-row gap-2 items-center flex-wrap">
@can('view save production order button')
<button
type="button"
wire:click="saveProductionOrder"
class="px-2 py-1 border border-primary-500 text-primary-600 rounded hover:bg-primary-50 hover:border-primary-700 transition text-sm"
>
Save
</button>
@endcan
@can('view print production order button')
<button
type="button"
wire:click="printProductionOrder"
class="px-2 py-1 border border-primary-500 text-primary-600 rounded hover:bg-primary-50 hover:border-primary-700 transition text-sm"
>
Print
</button>
@endcan
@can('view print panel production order button')
<button
type="button"
wire:click="printPanel"
class="px-2 py-1 border border-primary-500 text-primary-600 rounded hover:bg-primary-50 hover:border-primary-700 transition text-sm"
>
Print Panel
</button>
@endcan
@can('view print panel 2 production order button')
<button
type="button"
wire:click="printPanel2"
class="px-2 py-1 border border-primary-500 text-primary-600 rounded hover:bg-primary-50 hover:border-primary-700 transition text-sm"
>
Print Panel 2
</button>
@endcan
@can('view print item serial production order button')
<button
type="button"
wire:click="printItemSerial"
class="px-2 py-1 border border-primary-500 text-primary-600 rounded hover:bg-primary-50 hover:border-primary-700 transition text-sm"
>
Print Item
</button>
@endcan
@can('view export serial number button')
<button
type="button"
wire:click="exportSerialNo"
class="px-2 py-1 border border-primary-500 text-primary-600 rounded hover:bg-primary-50 hover:border-primary-700 transition text-sm"
>
Export Serial Number
</button>
@endcan
</div>