Added print item button in production order screen
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,40 @@
|
|||||||
|
|
||||||
|
<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
|
||||||
|
</div>
|
||||||
|
|
||||||
Reference in New Issue
Block a user