Invoices

From SemanticOrganization
Revision as of 09:18, 31 October 2018 by Admin (talk | contribs) (Text replacement - "{{Generator" to "{{Semorg-generator")
Jump to: navigation, search


Messages

"semorg-invoices-template": "semorg-invoices",
"semorg-invoices-category": "semorg-invoices",
"semorg-invoices-form": "semorg-invoices",
"semorg-form-invoices-create-title": "Create Invoices",
"semorg-form-invoices-edit-title": "Edit Invoices",

"semorg-form-invoices-template": "invoices",
"semorg-form-invoices-rows": "",
"semorg-list-invoices-headers": "",

Form

Form:Semorg-invoices

<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info
   |create title={{int:semorg-form-invoices-create-title}}
   |edit title={{int:semorg-form-invoices-edit-title}}<span class="d-none">: <page name></span>
   |page name=
}}}

{{semorg-form-template|invoices}}
 
{{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|invoices|}}

Category

Category:Semorg-invoices

{{semorg-category}}

Template

Template:Semorg-invoices

<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-invoices-category}}]]{{#semorg-set:invoices
}}{{#semorg-detail:invoices}}{{#semorg-table:invoices
}}</includeonly>

Row Template

Template:Semorg-invoices-row

<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr>
<td>[[{{{target|}}}]]</td>
{{semorg-showedit
  |target={{{target|}}}
}}
</tr></includeonly>

Overview Page Template

Template:Semorg-invoices-overview

<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:invoices
  |heading={{int:semorg-invoices-page-name}}
  |formlink={{#semorg-forminput:invoices}}
  |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

[[]]

{{semorg-invoices-overview}}

Property Registration

Add the following line to LocalSettings.php:

$wgSemorgAdditionalProperties['invoices'] = [ "id" => "IS","fields" => [ ] ];