Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips
System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : fdshops ( 1003)
PHP Version : 8.2.21
Disable Function : NONE
Directory :  /home/fdshops/public_html/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/fdshops/public_html/storage/framework/views/0e644eddc9bbee0cf3d1335cb874c592f2ed0cb3.php
<script type="text/javascript">
	$(document).ready( function(){
		$(document).on('click', '.edit-po-status', function () {
			var url  = $(this).data('href');
		    $.ajax({
		        method: "GET",
		        dataType: "html",
		        url: url,
		        success: function(result){
		            $('.edit_pso_status_modal').html(result).modal("show");
		        }
		    });
		});

		$(document).on('submit', 'form#update_po_status_form', function(e){
		    e.preventDefault();
		    var url = $('form#update_po_status_form').attr('action');
		    var method = $('form#update_po_status_form').attr('method');
		    var data = $('form#update_po_status_form').serialize();
		    var ladda = Ladda.create(document.querySelector('.ladda-button'));
		    ladda.start();
		    $.ajax({
		        method: method,
		        dataType: "json",
		        url: url,
		        data:data,
		        success: function(result){
		            ladda.stop();
		            if (result.success) {
		                $('.edit_pso_status_modal').modal("hide");
		                toastr.success(result.msg);
		                if (typeof(purchase_order_table) != 'undefined') {
		                    purchase_order_table.ajax.reload();
		                }
		            } else {
		                toastr.error(result.msg);
		            }
		        }
		    });
		});
	});	
</script><?php /**PATH /var/www/clients/client13/web23/web/custom_views/purchase_order/common_js.blade.php ENDPATH**/ ?>

Spamworldpro Mini