Files
pds/resources/views/forms/components/save-production-order-button.blade.php
dhanabalan 2da57b98e2
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 18s
Added print 2 button in production order blade page
2026-11-26 08:29:16 +05:30

68 lines
1.9 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 production order 2 button')
<button
type="button"
wire:click="printProductionOrderSecond"
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 2
</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>