![]() 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:[[1,"desc"]],ajax:{url:route("transactions")},columnDefs:[{targets:[1],width:"28%",className:"text-center"},{targets:[2],width:"18%"},{targets:[3],orderable:!1,searchable:!1,className:"text-center",width:"8%"}],columns:[{data:function(a){return'<div class="symbol symbol-circle symbol-50px overflow-hidden me-3">\n <div class="symbol-label">\n <img src="'.concat(a.user.profile_image,'" alt=""\n class="w-100 object-cover">\n </div>\n </div>\n <div class="d-inline-block align-top">\n <a href="').concat(route("patients.show",a.id),'"\n class="text-primary-800 mb-1 d-block">').concat(a.user.full_name,'</a>\n <span class="d-block text-muted fw-bold">').concat(a.user.email,"</span>\n </div>")},name:"user.first_name"},{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("transactions.show",a.id)}];return prepareTemplateRender("#transactionsTemplate",e)},name:"id"}]});handleSearchDatatable(a)}))})();