简体   繁体   English

在Drupal 6中将内容类型组合成一个PDF

[英]Combining content types into a single PDF in Drupal 6

So, I'm working on a Drupal 6 project that ultimately replaces a big, complex Excel spreadsheet with a workflow as such: 因此,我正在研究一个Drupal 6项目,该项目最终将这样的工作流替换为一个大型,复杂的Excel电子表格:

  1. Customer books an appointment via the Bookings API 客户通过Bookings API预订约会
  2. Employee goes to customer and does a bunch of measurements 员工去拜访客户并进行大量测量
  3. Employee enters measurements into either an uploaded Excel spreadsheet or a web-based form 员工将度量输入到上传的Excel电子表格或基于Web的表格中
  4. Website generates a PDF with measurement sheet and the output from the Invoice module 网站生成带有测量表的PDF和“发票”模块的输出
  5. Customer receives an email with link to watermarked version of PDF. 客户收到一封电子邮件,其中包含指向带水印的PDF版本的链接。
  6. Customer pays online and receives link to unwatermarked PDF. 客户在线付款并获得未加水印的PDF的链接。

My questions are: 我的问题是:

  • What is the best way to go about Part 3 (Such that the data can be used by Parts 4-6)? 第3部分的最佳方法是什么(第4-6部分可以使用数据)? CCK fields and a custom content type? CCK字段和自定义内容类型?
  • What is the best way to combine content types (Ie, "Measurements" custom content type with "Invoice" content type) into a single PDF? 将内容类型(即“度量”自定义内容类型和“发票”内容类型)组合为单个PDF的最佳方法是什么?
  • Bonus Marks: Any way to auto-populate Invoice module content types? 奖励标记:有什么方法可以自动填充“发票”模块的内容类型?

Any help will be muchly appreciated! 任何帮助将不胜感激!

You are actyally trying to sell a product with customisable input (comparable to a t-shirt with a custom print, but instead of using a custom picture, you use custom data). 您实际上是在尝试销售具有可自定义输入的产品(与具有自定义图案的T恤相比,而是使用自定义数据来代替自定义图片)。

Here is what I did for a comparable project: 这是我为类似项目所做的工作:

Bonus: 奖金:

I ended up using: 我最终使用:

a. 一种。 Storm for CRM functionality CRM功能的风暴

b. b。 Simple Payments for Storm Invoice payment 风暴发票付款的简单付款

c. C。 Print module for PDF output PDF输出的打印模块

d. d。 Calendar (+ Views) for appointment booking (Used internally; stage 1 changed to "employee sets up appointment" in Storm Project) 约会预订的日历(+视图)(内部使用;在Storm Project中,第1阶段更改为“员工设置约会”)

e. e。 CCK + Flexifield for the measurement sheet content type CCK + Flexifield用于测量表内容类型

f. F。 Custom-written module to pass cost values to Storm and automate tasks between Storm/CCK measurement sheet. 定制编写的模块,用于将成本值传递给Storm,并在Storm / CCK测量表之间自动执行任务。

Ubercart really is overkill for simple payment applications. 对于简单的支付应用程序而言,Ubercart确实过高了。 Alas, Simple Payments is pretty poorly supported. Simple,Simple Payments的支持很差。 If only there was a unified payment API or something... 如果只有统一的支付API之类的东西...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM