-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:ekylibre/ekylibre
- Loading branch information
Showing
30 changed files
with
585 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<aggregators xmlns="http://www.ekylibre.org/XML/2013/aggregators"> | ||
<aggregator name="wine_detention_registry" version="0.0" category="land_parcel_management"> | ||
<parameters> | ||
<parameter name="campaigns" type="record-list" of="campaign" default="currents"/> | ||
</parameters> | ||
<section name="campaigns"> | ||
<variable name="company" value="Entity.of_company"/> | ||
<property name="entity_name" value="company.full_name"/> | ||
<property name="address" value="company.default_mail_address.coordinate"/> | ||
<sections for="campaign" in="campaigns"> | ||
<property name="id" of="campaign" level="api"/> | ||
<title name="name" of="campaign"/> | ||
<property name="harvest_year" of="campaign"/> | ||
<!-- looking for all Product in current campaign with oenological_regulateds --> | ||
<sections for="product" in="Product.of_working_set(:oenological_regulateds)" of-type="record"> | ||
<title name="name" of="product"/> | ||
<property name="work_number" of="product"/> | ||
<property name="nature_name" of="product"/> | ||
<property name="variant_name" of="product"/> | ||
<property name="born_at" of="product" type="datetime"/> | ||
<property name="received_at" if="product.incoming_delivery_item" value="product.incoming_delivery_item.delivery.received_at" type="datetime"/> | ||
<property name="sender" if="product.incoming_delivery_item" value="product.incoming_delivery_item.delivery.sender.name"/> | ||
<property name="sender_adress" if="product.incoming_delivery_item" value="product.incoming_delivery_item.delivery.sender.default_mail_address.coordinate"/> | ||
<property name="incoming_quantity" if="product.incoming_delivery_item" value="product.incoming_delivery_item.population"/> | ||
<matrix name="interventions" for="intervention" in="Intervention.with_cast('addition-input', product).of_campaign(campaign).order(:started_at)"> | ||
<cell name="name" of="intervention"/> | ||
<cell name="started_at" of="intervention" type="datetime"/> | ||
<cell name="stopped_at" of="intervention" type="datetime"/> | ||
<cell name="input_quantity" value="intervention.casts.of_role('addition-input').first.population"/> | ||
<cell name="input_unit_name" value="product.unit_name"/> | ||
</matrix> | ||
</sections> | ||
</sections> | ||
</section> | ||
</aggregator> | ||
</aggregators> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.