psservice

package
v0.0.0-...-537082a Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const DATE_LAYOUT = "2006-01-02"
View Source
const DEFAULT_FOR_NO_VALUE = "n/a"

Variables

This section is empty.

Functions

This section is empty.

Types

type PdfService

type PdfService struct {
	// contains filtered or unexported fields
}

func NewPdfService

func NewPdfService(prRepo pr_db.PrRepo) PdfService

func (*PdfService) GeneratePdfPullSlip

func (p *PdfService) GeneratePdfPullSlip(pr pr_db.PatronRequest, notes []pr_db.Notification, conditions []pr_db.Notification) ([]byte, error)

func (*PdfService) GeneratePdfPullSlipForPrs

func (p *PdfService) GeneratePdfPullSlipForPrs(ctx common.ExtendedContext, prs []pr_db.PatronRequest) ([]byte, error)

type PullSlipData

type PullSlipData struct {
	BorrowerName     string
	ReqId            string
	PickupLocation   string
	Title            string
	Author           string
	DueDate          string
	ReturnAddress    string
	BarcodeBase64    string
	ServiceType      string
	ServiceLevel     string
	SystemIdentifier string
	Publisher        string
	Volume           string
	Issue            string
	Pages            string
	StaffNotes       string
	CallNumber       string
	LoanConditions   string
}

Jump to

Keyboard shortcuts

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