D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
vitalityhealth
/
www
/
testaa
/
superadmin
/
js
/
examples
/
Filename :
examples.ecommerce.orders.detail.js
back
Copy
(function($){'use strict';$('select[name="orderStatus"]').select2({minimumResultsForSearch:-1,templateResult:formatOrderStatus,templateSelection:formatOrderStatus,theme:'bootstrap'});function formatOrderStatus(status){if(!status.id){return status.text;} var $status=$('<span class="ecommerce-status '+status.id+'">'+status.text+'</span>');return $status;};}(jQuery));