@if ($tipe == 6) {{ __('Input Voucher') }} @else {{ __('Input Item Promo') }} @endif
@if ($tipe == 6)
@else
@endif @if ($tipe == 6)
@if ($create_by == 1) @if ($errorDetail == '') @error('create_by_voucher_no') {{ $message }} @enderror @else @endif @else @error('create_by_voucher_batch') {{ $message }} @enderror @endif @if ($create_by == 1 && $errorDetail != '') {{ $errorDetail }} @endif
@error('create_by_voucher_value') {{ $message }} @enderror
@else
@if ($tipe == 3 || $tipe == 4)
@if ($flagPack) @else The promo pack is required. @endif
@for ($i = 1; $i <= $qty_pack; $i++)
@endfor
@endif
@if ($search_by == 1) @if ($errorDetail == '') @else @endif @else @endif @if ($search_by == 1) @if ($search_code) @else @endif @endif
@if ($search_by == 1 && $errorDetail != '') {{ $errorDetail }} @endif
@if ($search_by == 2) @if ($errorDetail == '') @else @endif @else @endif @if ($search_by == 2) @if ($search_barcode) @else @endif @endif
@if ($search_by == 2 && $errorDetail != '') {{ $errorDetail }} @endif
@if ($tipe == 1 || $tipe == 2)
@if ($tipe == 1)
@error('item_disc') {{ $message }} @enderror
@elseif ($tipe == 2)
@error('item_price') {{ $message }} @enderror
@endif
@if ($tipe == 1) @else @endif
@if ($item_qty_check)
@error('item_qty_qty') {{ $message }} @enderror
@if ($tipe == 1)
@error('item_qty_disc') {{ $message }} @enderror Add
@else
@error('item_qty_price') {{ $message }} @enderror Add
@endif
@endif @endif
@endif
@livewireScripts