PHP Classes

File: baskets.data.php

Recommend this page to a friend!
  Classes of Pierre-Henry Soria   Receipt   baskets.data.php   Download  
File: baskets.data.php
Role: Configuration script
Content type: text/plain
Description: Configuration script
Class: Receipt
Process and display expense receipts
Author: By
Last change:
Date: 21 hours ago
Size: 2,235 bytes
 

Contents

Class file image Download
<?php
/**
 * @author Pierre-Henry Soria <[email protected]>
 * @copyright (c) 2015, Pierre-Henry Soria. All Rights Reserved.
 * @license MIT License <http://www.opensource.org/licenses/mit-license.php>
 * @link http://github.com/pH-7/
 */
 
return array
(
   
1 => array
    (
       
1 => array
        (
           
'quantity' => 1,
           
'item' => 'book',
           
'price' => 12.49,
           
'type' => 'book',
           
'is_imported' => false
       
),
       
2 => array
        (
           
'quantity' => 1,
           
'item' => 'music CD',
           
'price' => 14.99,
           
'type' => 'media',
           
'is_imported' => false
       
),
       
3 => array
        (
           
'quantity' => 1,
           
'item' => 'chocolate bar',
           
'price' => 0.85,
           
'type' => 'food',
           
'is_imported' => false
       
)
    ),
   
2 => array
    (
       
1 => array
        (
           
'quantity' => 1,
           
'item' => 'box of chocolate',
           
'price' => 10.00,
           
'type' => 'food',
           
'is_imported' => true
       
),
       
2 => array
        (
           
'quantity' => 1,
           
'item' => 'bottle of perfume',
           
'price' => 47.50,
           
'type' => 'perfume',
           
'is_imported' => true
       
)
    ),

   
3 => array
    (
       
1 => array
        (
           
'quantity' => 1,
           
'item' => 'bottle of perfume',
           
'price' => 27.99,
           
'type' => 'perfume',
           
'is_imported' => true
       
),
       
2 => array
        (
           
'quantity' => 1,
           
'item' => 'bottle of perfume',
           
'price' => 18.99,
           
'type' => 'perfume',
           
'is_imported' => false
       
),
       
3 => array
        (
           
'quantity' => 1,
           
'item' => 'packet of paracetamol',
           
'price' => 9.75,
           
'type' => 'medical',
           
'is_imported' => false
       
),
       
4 => array
        (
           
'quantity' => 1,
           
'item' => 'box of chocolates',
           
'price' => 11.25,
           
'type' => 'food',
           
'is_imported' => true
       
)
    )
);