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": "note, end-date, amount, project, title, year, date, frequency, status",
"semorg-list-liquidity-planning-headers": "liquidity-planning-title,liquidity-planning-date,liquidity-planning-amount",
"semorg-field-liquidity-planning-amount-name": "Amount", 
"semorg-field-liquidity-planning-amount-parameters": "",
"semorg-field-liquidity-planning-date-name": "Date", 
"semorg-field-liquidity-planning-date-parameters": "",
"semorg-field-liquidity-planning-end-date-name": "End date", 
"semorg-field-liquidity-planning-end-date-parameters": "",
"semorg-field-liquidity-planning-frequency-name": "Frequency", 
"semorg-field-liquidity-planning-frequency-parameters": "",
"semorg-field-liquidity-planning-note-name": "Note", 
"semorg-field-liquidity-planning-note-parameters": "",
"semorg-field-liquidity-planning-project-name": "Project", 
"semorg-field-liquidity-planning-project-parameters": "",
"semorg-field-liquidity-planning-status-name": "Status", 
"semorg-field-liquidity-planning-status-parameters": "",
"semorg-field-liquidity-planning-title-name": "Title", 
"semorg-field-liquidity-planning-title-parameters": "",
"semorg-field-liquidity-planning-year-name": "Year", 
"semorg-field-liquidity-planning-year-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 
  |note={{{note|}}} 
  |end-date={{{end-date|}}} 
  |amount={{{amount|}}} 
  |project={{{project|}}} 
  |title={{{title|}}} 
  |year={{{year|}}} 
  |date={{{date|}}} 
  |frequency={{{frequency|}}} 
  |status={{{status|}}}
}}{{#semorg-detail:liquidity-planning}}{{#semorg-table:liquidity-planning 
  |note={{{note|}}} 
  |end-date={{{end-date|}}} 
  |amount={{{amount|}}} 
  |project={{{project|}}} 
  |title={{{title|}}} 
  |year={{{year|}}} 
  |date={{{date|}}} 
  |frequency={{{frequency|}}} 
  |status={{{status|}}}
}}</includeonly>

Row Template

Template:Semorg-liquidity-planning-row

<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr>
<td>[[{{{target|}}}]]</td> 
<td>{{{note|}}}</td> 
<td>{{{end-date|}}}</td> 
<td>{{{amount|}}}</td> 
<td>{{{project|}}}</td> 
<td>{{{title|}}}</td> 
<td>{{{year|}}}</td> 
<td>{{{date|}}}</td> 
<td>{{{frequency|}}}</td> 
<td>{{{status|}}}</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" => ["note" => [ "id" => "NO","type" => "txt" ],"end-date" => [ "id" => "ED","type" => "dat" ],"amount" => [ "id" => "AM","type" => "num" ],"project" => [ "id" => "PR","type" => "wpg" ],"title" => [ "id" => "TI","type" => "txt" ],"year" => [ "id" => "YE","type" => "num" ],"date" => [ "id" => "DA","type" => "dat" ],"frequency" => [ "id" => "FR","type" => "txt" ],"status" => [ "id" => "ST","type" => "num" ], ] ];