Browse Source

ERx Ticket PDF generation (wip)

Vijayakrishnan 4 năm trước cách đây
mục cha
commit
60af76ccba

+ 1 - 0
app/Http/Controllers/TicketController.php

@@ -13,6 +13,7 @@ class TicketController extends Controller
     public function downloadAsPdf(Request $request, Ticket $ticket){
         $pdf = PDF::loadView('app.ticket.pdf-preview', compact('ticket'));
         return $pdf->download('invoice.pdf');
+//        return view('app.ticket.pdf-preview', compact('ticket'));
     }
 
     public function getTicketFaxes(Request $request, Ticket $ticket) {

BIN
public/img/dialmd-logo.png


+ 2 - 2
resources/views/app/patient/partials/ticket_vue_methods.blade.php

@@ -43,7 +43,7 @@ updateTicketPro: function() {
     return false;
 },
 
-<!--showSendFaxPopup: function(_name, _item) {
+/*showSendFaxPopup: function(_name, _item) {
     closeStagPopup();
     this.popupItem =JSON.parse(JSON.stringify(_item))
     let self = this;
@@ -69,7 +69,7 @@ sendFax: function() {
         'json');
 
     return false;
-},-->
+},*/
 
 
 setIsEntryErrorToTrue: function(_item){

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 12 - 10
resources/views/app/ticket/pdf-preview.blade.php


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác