Liquidity-planning

From SemanticOrganization
Jump to: navigation, search


Messages

"semorg-liquidity-planning-template": "semorg-liquidity-planning",
"semorg-liquidity-planning-category": "semorg-liquidity-planning",
"semorg-liquidity-planning-form": "semorg-liquidity-planning",
"semorg-liquidity-planning-page-name": "Liquidity Planning",
"semorg-liquidity-planning-entity-name": "Inflow/Outflow",
"semorg-form-liquidity-planning-create-title": "Create Inflow/Outflow",
"semorg-form-liquidity-planning-edit-title": "Edit Inflow/Outflow", 
"semorg-form-liquidity-planning-page-name": "Liquidity Plannings",

"semorg-form-liquidity-planning-template": "liquidity-planning",
"semorg-form-liquidity-planning-rows": "end-date, project, note, title, date, frequency, year, status, amount",
"semorg-list-liquidity-planning-headers": "liquidity-planning-title,liquidity-planning-date,liquidity-planning-amount",
"semorg-field-liquidity-planning-end-date-name": "End date", 
"semorg-field-liquidity-planning-end-date-parameters": "",
"semorg-field-liquidity-planning-project-name": "Project", 
"semorg-field-liquidity-planning-project-parameters": "",
"semorg-field-liquidity-planning-note-name": "Note", 
"semorg-field-liquidity-planning-note-parameters": "",
"semorg-field-liquidity-planning-title-name": "Title", 
"semorg-field-liquidity-planning-title-parameters": "",
"semorg-field-liquidity-planning-date-name": "Date", 
"semorg-field-liquidity-planning-date-parameters": "",
"semorg-field-liquidity-planning-frequency-name": "Frequency", 
"semorg-field-liquidity-planning-frequency-parameters": "",
"semorg-field-liquidity-planning-year-name": "Year", 
"semorg-field-liquidity-planning-year-parameters": "",
"semorg-field-liquidity-planning-status-name": "Status", 
"semorg-field-liquidity-planning-status-parameters": "",
"semorg-field-liquidity-planning-amount-name": "Amount", 
"semorg-field-liquidity-planning-amount-parameters": "",

Form

Form:Semorg-liquidity-planning

<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info
   |create title={{int:semorg-form-liquidity-planning-create-title}}
   |edit title={{int:semorg-form-liquidity-planning-edit-title}}<span class="d-none">: <page name></span>
   |page name={{int:semorg-form-liquidity-planning-page-name}}/<unique number;start=1>
}}}

{{semorg-form-template|liquidity-planning}}
 
{{semorg-form-standard-inputs}}
</includeonly>

as embedded:

Use this code, if this is not meant to be a standalone feature but rather a supplement that should be embedded in other forms. Add this line to a form definition that includes a field with the parameter holds template. The second parameter of the semorg-form-template-embed call should be the target field, specified with <feature>[<field>] (e.g. meeting-group[files] or {{int:semorg-meeting-group-template}}[files] to respect template customization).

{{semorg-form-template-embed|liquidity-planning|}}

Category

Category:Semorg-liquidity-planning

{{semorg-category}}

Template

Template:Semorg-liquidity-planning

<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-liquidity-planning-category}}]]{{#semorg-set:liquidity-planning 
  |end-date={{{end-date|}}} 
  |project={{{project|}}} 
  |note={{{note|}}} 
  |title={{{title|}}} 
  |date={{{date|}}} 
  |frequency={{{frequency|}}} 
  |year={{{year|}}} 
  |status={{{status|}}} 
  |amount={{{amount|}}}
}}{{#semorg-detail:liquidity-planning}}{{#semorg-table:liquidity-planning 
  |end-date={{{end-date|}}} 
  |project={{{project|}}} 
  |note={{{note|}}} 
  |title={{{title|}}} 
  |date={{{date|}}} 
  |frequency={{{frequency|}}} 
  |year={{{year|}}} 
  |status={{{status|}}} 
  |amount={{{amount|}}}
}}</includeonly>

Row Template

Template:Semorg-liquidity-planning-row

<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr>
<td>[[{{{target|}}}]]</td> 
<td>{{{end-date|}}}</td> 
<td>{{{project|}}}</td> 
<td>{{{note|}}}</td> 
<td>{{{title|}}}</td> 
<td>{{{date|}}}</td> 
<td>{{{frequency|}}}</td> 
<td>{{{year|}}}</td> 
<td>{{{status|}}}</td> 
<td>{{{amount|}}}</td>
{{semorg-showedit
  |target={{{target|}}}
}}
</tr></includeonly>

Overview Page Template

Template:Semorg-liquidity-planning-overview

<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:liquidity-planning
  |heading={{int:semorg-liquidity-planning-page-name}}
  |formlink={{#semorg-formlink:liquidity-planning}}
  |links={{{links|}}}
  |query={{{query|}}}
  |sort={{{sort|}}}
  |order={{{order|}}}
  |limit={{{limit|}}}
  |filter links={{{filter links|}}}
  |filters={{{filters|}}}
  |category={{{category|}}}
  |headers={{{headers|}}}
  |row template={{{row template|}}}
  |tableclass={{{tableclass|}}}
  |title={{{title|}}}
  |sums={{{sums|}}}
  |csv={{{csv|}}}
  |default={{{default|}}}
  |returnto={{{returnto|}}}
  |help={{{help|}}}
}}</includeonly>

Overview Page

Liquidity Planning

{{semorg-liquidity-planning-overview}}

Property Registration

Add the following line to LocalSettings.php:

$wgSemorgAdditionalProperties['liquidity-planning'] = [ "id" => "FPL","fields" => ["end-date" => [ "id" => "ED","type" => "dat" ],"project" => [ "id" => "PR","type" => "wpg" ],"note" => [ "id" => "NO","type" => "txt" ],"title" => [ "id" => "TI","type" => "txt" ],"date" => [ "id" => "DA","type" => "dat" ],"frequency" => [ "id" => "FR","type" => "txt" ],"year" => [ "id" => "YE","type" => "num" ],"status" => [ "id" => "ST","type" => "num" ],"amount" => [ "id" => "AM","type" => "num" ], ] ];