<div class="modal-dialog" role="document">
	<div class="modal-content">
		<div class="modal-header">
			<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
			<h4 class="modal-title" id="myModalLabel"><b class="pro_name"><?php echo e($product->product_name, false); ?></b> - <?php echo e($product->sub_sku, false); ?> </h4>
		</div>
		<div class="modal-body">
			<div class="row">
				<div class="form-group col-xs-12 <?php if(!auth()->user()->can('edit_product_price_from_sale_screen')): ?> hide <?php endif; ?>">
				</div>
				<?php if(!auth()->user()->can('edit_product_price_from_sale_screen')): ?>
					<div class="form-group col-xs-12">
						<strong><?php echo app('translator')->getFromJson('sale.unit_price'); ?>:</strong> <?php echo e(number_format(!empty($product->unit_price_before_discount) ? $product->unit_price_before_discount : $product->default_sell_price, session('business.currency_precision', 2), session('currency')['decimal_separator'], session('currency')['thousand_separator']), false); ?>

					</div>
				<?php endif; ?>
				
				
				
				<div class="form-group col-xs-12 col-sm-6">
                    <label>Product Name</label>
                    <input type="text" id="product_name_<?php echo e($row_count, false); ?>" 
                           name="products[<?php echo e($row_count, false); ?>][product_name]" 
                           class="input-sm form-control product_name" 
                           value="<?php echo e($product->product_name, false); ?>">
                </div>
                <div class="form-group col-xs-12 col-sm-6">
                    <label>&nbsp;Action</label><br>
                    <span onclick="updateProduct(<?php echo e($row_count, false); ?>, <?php echo e($product->product_id, false); ?>)"  
                            class="btn btn-primary btn-sm">
                        Update
                    </span>
                </div>
				
				
				
				
				
				
				<!--<div class="form-group col-xs-12 col-sm-6 <?php if(!$edit_discount): ?> hide <?php endif; ?>">
							</div>
				<div class="form-group col-xs-12 col-sm-6 <?php if(!$edit_discount): ?> hide <?php endif; ?>">
					<label><?php echo app('translator')->getFromJson('sale.discount_amount'); ?></label>
					
				</div>-->
				<?php if(!empty($discount)): ?>
					<div class="form-group col-xs-12">
						<p class="help-block"><?php echo __('lang_v1.applied_discount_text', ['discount_name' => $discount->name, 'starts_at' => $discount->formated_starts_at, 'ends_at' => $discount->formated_ends_at]); ?></p>
					</div>
				<?php endif; ?>
				<!--<div class="form-group col-xs-12 <?php echo e($hide_tax, false); ?>">
					<label><?php echo app('translator')->getFromJson('sale.tax'); ?></label>

					
				</div>-->
				<?php if(!empty($warranties)): ?>
					<div class="form-group col-xs-12">
						<label><?php echo app('translator')->getFromJson('lang_v1.warranty'); ?></label>
						<?php echo Form::select("products[$row_count][warranty_id]", $warranties, $warranty_id, ['placeholder' => __('messages.please_select'), 'class' => 'form-control']);; ?>

					</div>
				<?php endif; ?>
				<div class="form-group col-xs-12" hidden>
		      		<label><?php echo app('translator')->getFromJson('lang_v1.description'); ?></label>
		      		<textarea class="form-control" name="products[<?php echo e($row_count, false); ?>][sell_line_note]" rows="3"><?php echo e($sell_line_note, false); ?></textarea>
		      		<p class="help-block"><?php echo app('translator')->getFromJson('lang_v1.sell_line_description_help'); ?></p>
		      	</div>
			</div>
		</div>
		<div class="modal-footer">
			<button type="button" id="pop_close" class="btn btn-default" data-dismiss="modal"><?php echo app('translator')->getFromJson('messages.close'); ?></button>
		</div>
	</div>
</div><?php /**PATH /home/fmsbill/public_html/svm-smart.fmsbill.in/resources/views/sale_pos/partials/row_edit_product_price_modal.blade.php ENDPATH**/ ?>