GithubHelp home page GithubHelp logo

ccnbg's Introduction

营会分房程序2.0

# Copyright 2014.9.18  Jing Tang <[email protected]>
# GNU General Public License <http://www.gnu.org/licenses/>.
# 本程序是利用google app script api 和 google drive service 实现的营会分房程序。
# 在通知原作者的前提下,你可以使用传播以及修改本程序,但禁止用于任何商业用途。

Resources:

how to apply to test?

  • mailto: tangjing725 (在) ccnbg.org (在替换为@)
  • 说明所属教会,测试目的
  • 留下联系方式,邮件地址

我收到后,会把测试地址以及权限发给你

Specification:

  • container:

  • 总表

  • 房间占用overview表

  • input:总表上的人员信息,mark condition (有特殊房间要求的家庭,个人), 空为随机

  • Requirement:

    1. 按性别随机分配房间,从6人间开始recursiv
    • 如果年龄 45岁 以上从4人间开始recursiv
    • 某人要求要某种类型的房间 (非家庭,也不需要和谁在一起,只要求房间类型)
    • 无电梯的2个4人间(850,851)不分配给45岁以上的,同样也不分配给家庭
    1. 指定要在一个房间的人员(这里包括家庭和特殊要求在一个房间的人员)
    • 家庭
      • 无需区分性别,mark condition格式 F(2/3/4/5/6)xxx,
        • F代表家庭间,2/3/4/5/6 代表房间类型,
        • xxx是任意字符串,不同家庭必须不同,以便区分。
        • e.g. A家庭 F2xxs: A家庭分2人间。B家庭: F4zsh: B家庭分4人间
      • 3岁以下无床 无名卡 skip
      • 非家庭但要求在一个房间的集体: 业务逻辑同家庭,所以程序并不需要区分。总表mark condition同家庭: F(2/3/4/5/6)xxx
    1. 日营
    • 分房时skip 但需要名卡 (所以只要参加营会的人,都要保留信息在总表以便打印名卡)
    1. 特殊指定要某一个房间的人员 比如牧师,讲员
    • 总表的mark condition 里写上他们预定的房间号就好,程序会自动把预定的房间分给他们
  • output:

  • 总表每个人得到房间号

  • overview表上会显示房间及床铺占用情况(分到房间的人名会被填上)

  • 读取总表上的信息,批量生成名卡,pdf格式,便于打印

ccnbg's People

Contributors

sijitang avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.