![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/clinic.corals.io/public/assets/js/transactions/ |
(()=>{"use strict";$(document).ready((function(){var a=$("#transactionsTable").DataTable({processing:!0,serverSide:!0,searchDelay:500,language:{lengthMenu:"Show _MENU_"},order:[[0,"desc"]],ajax:{url:route("patients.transactions")},columnDefs:[{targets:[0],width:"50%"},{targets:[1],width:"18%"},{targets:[2],orderable:!1,searchable:!1,className:"text-center",width:"8%"}],columns:[{data:function(a){return'<span class="badge badge-light-info">'.concat(moment.parseZone(a.created_at).format("Do MMM, Y h:mm A"),"</span>")},name:"created_at"},{data:function(a){return currencyIcon+" "+getFormattedPrice(a.amount)},name:"amount"},{data:function(a){var e=[{id:a.id,showUrl:route("patients.transactions.show",a.id)}];return prepareTemplateRender("#transactionsTemplate",e)},name:"id"}]});handleSearchDatatable(a)}))})();