Skip to content

Commit

Permalink
[Docs] Outdate InventoryBundle
Browse files Browse the repository at this point in the history
  • Loading branch information
CoderMaggie authored and Zales0123 committed Jan 15, 2019
1 parent 190fd60 commit 99aa793
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 8 deletions.
@@ -1,6 +1,13 @@
.. rst-class:: outdated

Twig Extension
==============

.. danger::

We're sorry but **this documentation section is outdated**. Please have that in mind when trying to use it.
You can help us making documentation up to date via Sylius Github. Thank you!

There are two handy twig functions bundled in: `sylius_inventory_is_available` and `sylius_inventory_is_sufficient`.

They are simple proxies to the availability checker, and can be used to show if the stockable object is available/sufficient.
Expand Down
@@ -1,6 +1,13 @@
.. rst-class:: outdated

SyliusInventoryBundle
=====================

.. danger::

We're sorry but **this documentation section is outdated**. Please have that in mind when trying to use it.
You can help us making documentation up to date via Sylius Github. Thank you!

Flexible inventory management for Symfony applications.

With minimal configuration you can implement inventory tracking in your project.
Expand Down
@@ -1,6 +1,13 @@
.. rst-class:: outdated

Installation
============

.. danger::

We're sorry but **this documentation section is outdated**. Please have that in mind when trying to use it.
You can help us making documentation up to date via Sylius Github. Thank you!

We assume you're familiar with `Composer <http://packagist.org>`_, a dependency manager for PHP.
Use the following command to add the bundle to your `composer.json` and download package.

Expand Down
@@ -1,6 +1,13 @@
.. rst-class:: outdated

Models
======

.. danger::

We're sorry but **this documentation section is outdated**. Please have that in mind when trying to use it.
You can help us making documentation up to date via Sylius Github. Thank you!

Here is a quick reference for the default models.

InventoryUnit
Expand Down
@@ -1,6 +1,13 @@
.. rst-class:: outdated

Using the services
==================

.. danger::

We're sorry but **this documentation section is outdated**. Please have that in mind when trying to use it.
You can help us making documentation up to date via Sylius Github. Thank you!

When using the bundle, you have access to several handy services.

AvailabilityChecker
Expand Down
@@ -1,6 +1,13 @@
.. rst-class:: outdated

Summary
=======

.. danger::

We're sorry but **this documentation section is outdated**. Please have that in mind when trying to use it.
You can help us making documentation up to date via Sylius Github. Thank you!

Configuration reference
-----------------------

Expand Down Expand Up @@ -30,14 +37,6 @@ Configuration reference
model: ~ # The stockable model class.
controller: Sylius\Bundle\ResourceBundle\Controller\ResourceController
`phpspec <http://phpspec.net>`_ examples
-----------------------------------------

.. code-block:: bash
$ composer install
$ bin/phpspec run -f pretty
Bug tracking
------------

Expand Down

0 comments on commit 99aa793

Please sign in to comment.