Files
pds/resources/views/forms/components/save-production-order-button.blade.php
dhanabalan 56ae97d2a3
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 18s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 18s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 21s
Laravel Pint / pint (pull_request) Successful in 2m48s
Laravel Larastan / larastan (pull_request) Failing after 4m17s
Added export serial excel button in production order page
2026-07-18 15:35:46 +05:30

50 lines
1.3 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 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>