File: /home/armgroup/libs/storage/framework/views/c91d1829b1fd6eaac18d43a5ab0c3529bd60070a.php
<div>
<form id="form" role="form" wire:submit.prevent="store">
<div class="card-body table-responsive">
<table class="table table-hover">
<thead>
<tr>
<th>از</th>
<th>تا</th>
<th>پیک درون استانی</th>
<th>پیشتاز درون استانی</th>
<th>پیک استان همجوار</th>
<th>پیشتاز استان همجوار</th>
<th>پیک استان غیرهمجوار</th>
<th>پیشتاز استان غیرهمجوار</th>
<th>عملیات</th>
</tr>
</thead>
<tbody>
<?php if(count($shippingPrices)): ?>
<?php $__currentLoopData = $shippingPrices; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $shippingPrice): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td>
<input placeholder="وزن(گرم)" required type="number" class="form-control <?php $__errorArgs = ["shippingPrices.$index.from"];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" min="0" wire:model.defer="shippingPrices.<?php echo e($index); ?>.from">
<?php $__errorArgs = ["shippingPrices.$index.from"];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<span class="text-danger" role="alert">
<strong><?php echo e($message); ?></strong>
</span>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</td>
<td>
<input placeholder="وزن(گرم)" type="number" class="form-control <?php $__errorArgs = ["shippingPrices.$index.up_to"];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" min="0" wire:model.defer="shippingPrices.<?php echo e($index); ?>.up_to">
<?php $__errorArgs = ["shippingPrices.$index.up_to"];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<span class="text-danger" role="alert">
<strong><?php echo e($message); ?></strong>
</span>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</td>
<td>
<input placeholder="قیمت(تومان)" type="number" class="form-control <?php $__errorArgs = ["shippingPrices.$index.my_province_courier"];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" min="0" wire:model.defer="shippingPrices.<?php echo e($index); ?>.my_province_courier">
<?php $__errorArgs = ["shippingPrices.$index.my_province_courier"];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<span class="text-danger" role="alert">
<strong><?php echo e($message); ?></strong>
</span>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</td>
<td>
<input placeholder="قیمت(تومان)" type="number" class="form-control <?php $__errorArgs = ["shippingPrices.$index.my_province_express"];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" min="0" wire:model.defer="shippingPrices.<?php echo e($index); ?>.my_province_express">
<?php $__errorArgs = ["shippingPrices.$index.my_province_express"];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<span class="text-danger" role="alert">
<strong><?php echo e($message); ?></strong>
</span>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</td>
<td>
<input placeholder="قیمت(تومان)" type="number" class="form-control <?php $__errorArgs = ["shippingPrices.$index.neighbor_province_courier"];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" min="0" wire:model.defer="shippingPrices.<?php echo e($index); ?>.neighbor_province_courier">
<?php $__errorArgs = ["shippingPrices.$index.neighbor_province_courier"];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<span class="text-danger" role="alert">
<strong><?php echo e($message); ?></strong>
</span>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</td>
<td>
<input placeholder="قیمت(تومان)" type="number" class="form-control <?php $__errorArgs = ["shippingPrices.$index.neighbor_province_express"];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" min="0" wire:model.defer="shippingPrices.<?php echo e($index); ?>.neighbor_province_express">
<?php $__errorArgs = ["shippingPrices.$index.neighbor_province_express"];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<span class="text-danger" role="alert">
<strong><?php echo e($message); ?></strong>
</span>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</td>
<td>
<input placeholder="قیمت(تومان)" type="number" class="form-control <?php $__errorArgs = ["shippingPrices.$index.not_neighbor_province_courier"];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" min="0" wire:model.defer="shippingPrices.<?php echo e($index); ?>.not_neighbor_province_courier">
<?php $__errorArgs = ["shippingPrices.$index.not_neighbor_province_courier"];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<span class="text-danger" role="alert">
<strong><?php echo e($message); ?></strong>
</span>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</td>
<td>
<input placeholder="قیمت(تومان)" type="number" class="form-control <?php $__errorArgs = ["shippingPrices.$index.not_neighbor_province_express"];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" min="0" wire:model.defer="shippingPrices.<?php echo e($index); ?>.not_neighbor_province_express">
<?php $__errorArgs = ["shippingPrices.$index.not_neighbor_province_express"];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<span class="text-danger" role="alert">
<strong><?php echo e($message); ?></strong>
</span>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</td>
<td>
<button type="button" class="btn btn-danger btn-sm" wire:click="removeItem(<?php echo e($index); ?>)">
<span class="fa fa-trash"></span> حذف
</button>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php endif; ?>
</tbody>
<tfoot>
<tr>
<td colspan="8"></td>
<td>
<button type="button" id="add-item" class="btn btn-success btn-sm" wire:click="addItem"><span class="fa fa-plus"></span> افزودن</button>
</td>
</tr>
</tfoot>
</table>
</div>
<div class="card-footer">
<button type="submit" class="btn btn-primary">ذخیره</button>
<a href="<?php echo e(route('admin.shipping-prices.index')); ?>" class="btn btn-danger float-left">لغو</a>
</div>
</form>
</div>
<?php /**PATH /home/masomi/armshop/resources/views/livewire/admin/shipping-price/create.blade.php ENDPATH**/ ?>