printdoc

package module
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PrintDoc

type PrintDoc struct {
	App    *model.Handlers
	Object *model.Object

	StoragePath string // ej: ./pdf_files

	// static data:
	App_name           string
	App_version        string
	Business_name      string
	Business_address   string
	Business_phone     string
	Business_logo_path string //ej: ./app_files/logo.png

	//dynamic fields data:
	StaffName          string
	ServiceName        string
	Reason             string
	Diagnostic         string
	Prescription       string
	MedicalImagesPaths []string

	DayAttention string //ej: 21-05-2023

	//patient data:
	PatientName string
	PatientRun  string
	PatientAge  string
	// contains filtered or unexported fields
}

func New added in v0.0.3

func New(o *model.Object, h *model.Handlers) (*PrintDoc, error)

func (*PrintDoc) BuildPanesdoscopiaPDF

func (p *PrintDoc) BuildPanesdoscopiaPDF() error

func (PrintDoc) Create added in v0.0.3

func (p PrintDoc) Create(u *model.User, data ...map[string]string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL