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
}
Click to show internal directories.
Click to hide internal directories.