|
Server : LiteSpeed System : Linux barito.iixcp.rumahweb.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : elvh3918 ( 1528) PHP Version : 8.2.31 Disable Function : mail Directory : /home/elvh3918/public_html/pmm/storage/framework/views/ |
<?php $__env->startSection('page-script-print-header'); ?>
<script>
function setTitle() {
var html='';
var user = <?php echo json_encode(Auth::user()->load('model')); ?>
html +='<div class="d-flex justify-content-between mb-3">';
html +='<div class="d-flex flex-column">';
html +='<span class="font-weight-bold text-purple" style="font-size: 18px;">' + user.model.name + '</span>';
html +='<span>' + user.model.address + '</span>';
html +='<span>email: ' + user.model.email + ', phone: ' + user.model.phone + '</span>';
html +='</div>';
html +='<div class="d-flex flex-column">';
html +='<span class="text-right">' + document.title + '</span>';
$print_date = new Date(<?php echo json_encode(\Carbon\Carbon::now()); ?>);
$print_date = moment($print_date).format('DD-MMM-YYYY HH:mm:ss');
html +='<span class="text-right">' + $print_date + '</span>';
html +='</div>';
html +='</div">';
return html;
}
</script>
<?php $__env->stopSection(); ?><?php /**PATH /home/elvh3918/public_html/pmm/resources/views/components/print-header.blade.php ENDPATH**/ ?>